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.3.5

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

  • /includes/class-acf-internal-post-type.php line 889
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
         * @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
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
         * @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