acf/conditional_logic/choices

acf/conditional_logic/choices

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.1

apply_filters('acf/conditional_logic/choices') is found 1 times:

  • /includes/admin/views/acf-field-group/conditional-logic.php line 153
    								 * @param array $choices The available choices.
    								 * @param array $conditional_field The field object for the conditional field.
    								 * @param mixed $value The value of the rule.
    								 */
    								$choices = apply_filters( 'acf/conditional_logic/choices', array( $rule['value'] => $rule['value'] ), $conditional_field, $rule['value'] );
    
    								acf_render_field(
    									array(
    										'type'     => 'select',
    										'prefix'   => $prefix,
    										'name'     => 'value',