PHP Class Kirki_Selective_Refresh, kirki

Exibir arquivo Open project: aristath/kirki

Public Methods

Method Description
__construct ( ) Adds any necessary actions & filters.
register_partials ( object $wp_customize ) Parses all fields and searches for the "partial_refresh" argument inside them.

Method Details

__construct() public method

Adds any necessary actions & filters.
public __construct ( )

register_partials() public method

If that argument is found, then it starts parsing the array of arguments. Registers a selective_refresh in the customizer for each one of them.
public register_partials ( object $wp_customize )
$wp_customize object WP_Customize_Manager.