acf/pre_update_{$this->hook_name}

acf/pre_update_{$this->hook_name}

Hook Type: filter

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 480
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    * @since 6.1
     *
     * @param array $post The main ACF post array.
     */
    $post = apply_filters( "acf/pre_update_{$this->hook_name}", $post );
     
    // Make a backup of internal post type data and remove some args.
    $_post = $post;
    acf_extract_vars( $_post, array( 'ID', 'key', 'title', 'menu_order', 'fields', 'active', '_valid', '_parent' ) );
     
    // Create array of data to save.