wppaste
WordPress

WP_Customize_Manager::save_changeset_post( array $args = array() ): array|WP_Error

Since
4.7.0
Source
wp-includes/class-wp-customize-manager.php:2639
Saves the post for the loaded changeset.

Compatibility

WordPress
since 4.7.0
PHP
7.4–8.6-dev
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.

Parameters

$argsarrayoptional
Args for changeset post.Default: array()
  • $dataarray

    Optional additional changeset data. Values will be merged on top of any existing post values.
  • $statusstring

    Post status. Optional. If supplied, the save will be transactional and a post revision will be allowed.
  • $titlestring

    Post title. Optional.
  • $date_gmtstring

    Date in GMT. Optional.
  • $user_idint

    ID for user who is saving the changeset. Optional, defaults to the current user ID.
  • $starter_contentbool

    Whether the data is starter content. If false (default), then $starter_content will be cleared for any $data being saved.
  • $autosavebool

    Whether this is a request to create an autosave revision.

Return value

array|WP_Error
Returns array on success and WP_Error with array data on error.

Performance profile

How much work a call to WP_Customize_Manager::save_changeset_post() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.

Cost class
Heavy

Reaches the database via get_post().

Scaling
Constant

No loop in the body: the same number of instructions runs whatever you pass in.

Instructions
200–254

Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 632.

Plugin surface
2 hooks

Third-party callbacks on 'customize_save_validation_before', 'customize_changeset_save_data' run inside this call, and their cost is not bounded by anything here.

Called by
2

2 places in core call this, so the cost is paid more often than your own code shows.

What it touches

  • querycontent queryget_post()called directly
  • hookthird-party callbacksdo_action()called directly
  • optionoption read or writeupdate_option()called directly
  • serializeserialisationmaybe_serialize()one call below WP_Customize_Manager::save_changeset_post()
  • cacheobject cachewp_cache_get()one call below WP_Customize_Manager::save_changeset_post()

Further down the call graph this can also reach transient. That is the worst case, several calls deep and usually down an error path, not what a normal call pays.

What one call costs · 116 distinct outcomes

One number would be a lie: the work depends on which branch runs. These are every distinct cost WP_Customize_Manager::save_changeset_post() can have, taken from its control-flow graph on PHP 8.5.

WhenInstructionsCalls it makes
empty($is_future_dated) && !is_wp_error()200–207get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)202–207get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error()205–213get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && !is_wp_error()205–210get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)207–213get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)207–212get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated)209–216get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)210–215get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error()210–215get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && !is_wp_error()210–218get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && empty($args)211–216get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && empty($args)212–215get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_update_post(), is_wp_error()
104 further outcomes, up to 254 instructions
empty($is_future_dated) && !is_wp_error() && empty($args)212–218get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)212–215get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error()212–217get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)214–217get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated)214–222get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)214–219get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)215–221get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)215–220get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error()215–220get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && empty($args)216–222get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)216–221get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && empty($args)217–220get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)217–222get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)217–220get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)217–223get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error()217–225get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)219–225get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !empty($args)219–224get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && empty($args)219–222get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated)219–224get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)219–227get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)220–223get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)220–226get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)220–223get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && empty($args)221–224get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)221–227get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)221–224get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)221–226get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)222–228get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && empty($args)222–225get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)222–227get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)222–225get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && empty($args)223–226get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)224–230get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && empty($args)224–230get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error()
empty($is_future_dated) && !empty($args)224–229get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)224–229get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error()225–230get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)225–228get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)225–228get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)225–231get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && empty($args)226–229get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)226–231get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)226–229get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)226–232get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)226–234get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_insert_post(), is_wp_error(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)227–230get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)227–233get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)227–233get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)227–230get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)227–230get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && empty($args)228–234get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)228–231get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)229–232get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !empty($args)229–232get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)229–235get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)229–232get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error()230–236get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error()230–233get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)230–233get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && !empty($args)231–237get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && empty($args)231–234get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)231–236get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)231–234get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)232–235get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)232–235get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)232–238get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)232–238get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error()
empty($is_future_dated) && empty($args)233–239get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)234–239get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)234–240get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !empty($args)234–237get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)234–237get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !empty($args)234–237get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)234–240get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error()235–238get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error()235–241get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !empty($args)236–239get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)236–242get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)236–242get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)236–239get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)236–239get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error()237–240get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !is_wp_error() && !empty($args)237–240get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !empty($args)238–241get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)239–245get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)239–242get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error() && !empty($args)239–242get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error()
empty($is_future_dated) && !empty($args)239–242get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error()240–243get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !empty($args)241–244get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)241–244get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)241–247get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)241–247get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !is_wp_error()242–245get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error()
empty($is_future_dated) && !empty($args)243–249get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)243–246get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)244–247get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)244–250get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)246–249get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)246–249get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated) && !empty($args)248–251get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_update_post(), wp_get_post_autosave(), wp_delete_post(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)249–252get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_date_from_gmt(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()
empty($is_future_dated)251–254get_current_user_id(), status(), ->changeset_post_id(), gmdate(), ->unsanitized_post_values(), array_keys(), ->add_dynamic_settings(), do_action(), array_keys(), array_fill_keys(), array_merge(), ->validate_setting_values(), array_filter(), ->get_changeset_post_data(), is_wp_error(), ->changeset_uuid(), is_wp_error(), apply_filters(), wp_json_encode(), ->changeset_uuid(), get_post_status(), current_time(), get_post_status(), wp_slash(), wp_create_post_autosave(), is_wp_error(), ->get_error_code(), setting_validities()

This body has more branch combinations than are worth enumerating, so the table covers the outcomes found first rather than every one that exists.

Across PHP versions

PHPCompiledExecutedBranchesNotes
8.6-dev632200–25470
8.5632200–25470
8.4632200–254702 fewer instructions than PHP 8.3
8.3634200–25470
8.2634200–25470
8.1634200–25470
7.4634200–25470

An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.

Hooks and filters fired · 2

2 hooks fire while WP_Customize_Manager::save_changeset_post() runs, in this order:

  1. do_action( customize_save_validation_before )actionline 2779 (+140 into the body)

    Fires before save validation happens.

  2. apply_filters( customize_changeset_save_data )filterline 2904 (+265 into the body)

    Filters the settings' data that will be persisted into the changeset.

Uses · 38

Show all 38

Used by · 2

Source code

	public function save_changeset_post( $args = array() ) { 		$args = array_merge(			array(				'status'          => null,				'title'           => null,				'data'            => array(),				'date_gmt'        => null,				'user_id'         => get_current_user_id(),				'starter_content' => false,				'autosave'        => false,			),			$args		); 		$changeset_post_id       = $this->changeset_post_id();		$existing_changeset_data = array();		if ( $changeset_post_id ) {			$existing_status = get_post_status( $changeset_post_id );			if ( 'publish' === $existing_status || 'trash' === $existing_status ) {				return new WP_Error(					'changeset_already_published',					__( 'The previous set of changes has already been published. Please try saving your current set of changes again.' ),					array(						'next_changeset_uuid' => wp_generate_uuid4(),					)				);			} 			$existing_changeset_data = $this->get_changeset_post_data( $changeset_post_id );			if ( is_wp_error( $existing_changeset_data ) ) {				return $existing_changeset_data;			}		} 		// Fail if attempting to publish but publish hook is missing.		if ( 'publish' === $args['status'] && false === has_action( 'transition_post_status', '_wp_customize_publish_changeset' ) ) {			return new WP_Error( 'missing_publish_callback' );		} 		// Validate date.		$now = gmdate( 'Y-m-d H:i:59' );		if ( $args['date_gmt'] ) {			$is_future_dated = ( mysql2date( 'U', $args['date_gmt'], false ) > mysql2date( 'U', $now, false ) );			if ( ! $is_future_dated ) {				return new WP_Error( 'not_future_date', __( 'You must supply a future date to schedule.' ) ); // Only future dates are allowed.			} 			if ( ! $this->is_theme_active() && ( 'future' === $args['status'] || $is_future_dated ) ) {				return new WP_Error( 'cannot_schedule_theme_switches' ); // This should be allowed in the future, when theme is a regular setting.			}			$will_remain_auto_draft = ( ! $args['status'] && ( ! $changeset_post_id || 'auto-draft' === get_post_status( $changeset_post_id ) ) );			if ( $will_remain_auto_draft ) {				return new WP_Error( 'cannot_supply_date_for_auto_draft_changeset' );			}		} elseif ( $changeset_post_id && 'future' === $args['status'] ) { 			// Fail if the new status is future but the existing post's date is not in the future.			$changeset_post = get_post( $changeset_post_id );			if ( mysql2date( 'U', $changeset_post->post_date_gmt, false ) <= mysql2date( 'U', $now, false ) ) {				return new WP_Error( 'not_future_date', __( 'You must supply a future date to schedule.' ) );			}		} 		if ( ! empty( $is_future_dated ) && 'publish' === $args['status'] ) {			$args['status'] = 'future';		} 		// Validate autosave param. See _wp_post_revision_fields() for why these fields are disallowed.		if ( $args['autosave'] ) {			if ( $args['date_gmt'] ) {				return new WP_Error( 'illegal_autosave_with_date_gmt' );			} elseif ( $args['status'] ) {				return new WP_Error( 'illegal_autosave_with_status' );			} elseif ( $args['user_id'] && get_current_user_id() !== $args['user_id'] ) {				return new WP_Error( 'illegal_autosave_with_non_current_user' );			}		} 		// The request was made via wp.customize.previewer.save().

Changelog

Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-includes/class-wp-customize-manager.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.