Uses
Uses | Description |
---|---|
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save_changeset_post() | Save the post for the loaded changeset. |
Save starter content changeset.
File: wp-includes/class-wp-customize-manager.php
public function _save_starter_content_changeset() { if ( empty( $this->pending_starter_content_settings_ids ) ) { return; } $this->save_changeset_post( array( 'data' => array_fill_keys( $this->pending_starter_content_settings_ids, array( 'starter_content' => true ) ), 'starter_content' => true, ) ); $this->saved_starter_content_changeset = true; $this->pending_starter_content_settings_ids = array(); }
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/_save_starter_content_changeset