wppaste
WordPress

WP_Customize_Widgets::selective_refresh_init()

Since
4.5.0
Source
wp-includes/class-wp-customize-widgets.php:1790
Adds hooks for selective refresh.

Uses · 3

Source

	public function selective_refresh_init() {		if ( ! current_theme_supports( 'customize-selective-refresh-widgets' ) ) {			return;		}		add_filter( 'dynamic_sidebar_params', array( $this, 'filter_dynamic_sidebar_params' ) );		add_filter( 'wp_kses_allowed_html', array( $this, 'filter_wp_kses_allowed_data_attributes' ) );		add_action( 'dynamic_sidebar_before', array( $this, 'start_dynamic_sidebar' ) );		add_action( 'dynamic_sidebar_after', array( $this, 'end_dynamic_sidebar' ) );	}

History

Introduced in 4.5.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-widgets.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.