acf/{$this->hook_name}/ajax_validate_values

acf/{$this->hook_name}/ajax_validate_values

Hook Type: filter

See hook in core

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

apply_filters('acf/{$this->hook_name}/ajax_validate_values') is found 2 times:

  • /includes/post-types/class-acf-post-type.php line 343
    					}
    				}
    			}
    
    			$valid = apply_filters( "acf/{$this->hook_name}/ajax_validate_values", $valid, $_POST['acf_post_type'] ); // phpcs:ignore WordPress.Security -- Raw input send to hook for validation.
    
    			return $valid;
    		}
    
    		/**
    		 * Parses ACF post type settings and returns an array of post type
    
  • /includes/post-types/class-acf-taxonomy.php line 289
    					}
    				}
    			}
    
    			$valid = apply_filters( "acf/{$this->hook_name}/ajax_validate_values", $valid, $_POST['acf_taxonomy'] ); // phpcs:ignore WordPress.Security -- Raw input send to hook for validation.
    
    			return $valid;
    		}
    
    		/**
    		 * Parses ACF taxonomy settings and returns an array of taxonomy