Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



customize_render_partials_before ›

Od4.5.0
Przestarzałyn/a
do_action( 'customize_render_partials_before', $this, $partials )
Parametry: (2)
  • (WP_Customize_Selective_Refresh) $this Selective refresh component.
    Wymagane: Tak
  • (array) $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.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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