acf/prepare_{$this->hook_name}_for_export

acf/prepare_{$this->hook_name}_for_export

Hook Type: filter

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 827
    			 * @since 5.0.0
    			 *
    			 * @param array $post The ACF post array.
    			 */
    			return apply_filters( "acf/prepare_{$this->hook_name}_for_export", $post );
    		}
    
    		/**
    		 * Returns a string containing PHP code that can be used to create the post in ACF.
    		 *
    		 * @since 6.1
    
  • /includes/post-types/class-acf-field-group.php line 394
    			 * @since 5.0.0
    			 *
    			 * @param array $post The ACF post array.
    			 */
    			return apply_filters( "acf/prepare_{$this->hook_name}_for_export", $post );
    		}
    
    		/**
    		 * Prepares an ACF field group for import.
    		 *
    		 * @since 6.1