Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Automator_Helpers_Recipe_Field::supports_custom_value( $args )
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Parameters Parameters
- $args
(Required)
Return Return
(bool)
Source Source
File: src/core/lib/helpers/class-automator-recipe-helpers-field.php
public function supports_custom_value( $args ) { if ( ! key_exists( 'supports_custom_value', $args ) ) { return apply_filters( 'automator_supports_custom_value', true, $args ); } if ( null === $args['supports_custom_value'] ) { return apply_filters( 'automator_supports_custom_value', true, $args ); } return apply_filters( 'automator_supports_custom_value', boolval( $args['supports_custom_value'] ), $args ); }
Expand full source code Collapse full source code View on Github