wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



customize_render_partials_before › Hooks de Ações WordPress

Desde4.5.0
Obsoleton/a
› do_action( 'customize_render_partials_before', $this, $partials )
Parâmetros: (2)
  • () refresh Selective refresh component.
    Required: Yes
  • () partials Placements' context data for the partials rendered in the request. The array is keyed by partial ID, with each item being an array of the placements' context data.
    Required: Yes
Definido em:
Codex:

Fires immediately before partials are rendered.

Plugins may do things like call wp_enqueue_scripts() and gather a list of the scripts and styles which may get enqueued in the response.




Fonte

do_action( 'customize_render_partials_before', $this, $partials );