acf/validate_{$this->hook_name}

acf/validate_{$this->hook_name}

Hook Type: filter

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 282
    			 * @since   5.0.0
    			 *
    			 * @param   array $post The post array.
    			 */
    			return apply_filters( "acf/validate_{$this->hook_name}", $post );
    		}
    
    		/**
    		 * Validates post type values before allowing save from the global $_POST object.
    		 * Errors are added to the form using acf_add_internal_post_type_validation_error().
    		 *
    
  • /includes/post-types/class-acf-post-type.php line 283
    			 * @since   5.0.0
    			 *
    			 * @param   array $post The post array.
    			 */
    			return apply_filters( "acf/validate_{$this->hook_name}", $post );
    		}
    
    		/**
    		 * Validates post type values before allowing save from the global $_POST object.
    		 * Errors are added to the form using acf_add_internal_post_type_validation_error().
    		 *