acf/prepare_{$this->hook_name}_for_import

acf/prepare_{$this->hook_name}_for_import

Hook Type: filter

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 890
    			 * @since 5.8.8
    			 *
    			 * @param array $post The ACF post array.
    			 */
    			return apply_filters( "acf/prepare_{$this->hook_name}_for_import", $post );
    		}
    
    		/**
    		 * Imports an ACF post into the database.
    		 *
    		 * @since 6.1
    
  • /includes/post-types/class-acf-field-group.php line 422
    			 * @since 5.8.8
    			 *
    			 * @param array $post The ACF post array.
    			 */
    			return apply_filters( "acf/prepare_{$this->hook_name}_for_import", $post );
    		}
    
    		/**
    		 * Returns a string that can be used to create a field group with PHP.
    		 *
    		 * @since 6.1