wphooks.info - customize_changeset_branching

customize_changeset_branching

(trunk - 5.0-alpha-42177)

*** New in trunk ***

The hook occurs in the following file:

wp-includes/class-wp-customize-manager.php:
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
		 * Since linear changesets are deemed to be more suitable for the majority of WordPress users,
		 * they are the default. For WordPress sites that have heavy site management in the Customizer
		 * by multiple users then branching changesets should be enabled by means of this filter.
		 *
		 * @since 4.9.0
		 *
		 * @param bool                 $allow_branching Whether branching is allowed. If `false`, the default,
		 *                                              then only one saved changeset exists at a time.
		 * @param WP_Customize_Manager $wp_customize    Manager instance.
		 */
		$this->branching = apply_filters( 'customize_changeset_branching', $this->branching, $this );

		return $this->branching;
	}

	/**
	 * Get the changeset UUID.
	 *
	 * @since 4.7.0
	 * @see WP_Customize_Manager::establish_loaded_changeset()