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



customize_partial_render_{$partial->id} › Hooks de Filtros WordPress

Desde4.5.0
Obsoleton/a
apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context )
Parâmetros: (3)
  • (string|array|false) $rendered The partial value. Default false.
    Required: Yes
  • (WP_Customize_Partial) $partial WP_Customize_Setting instance.
    Required: Yes
  • (array) $container_context Optional array of context data associated with the target container.
    Required: Yes
Definido em:
Codex:

Filters partial rendering for a specific partial.

The dynamic portion of the hook name, $partial->ID refers to the partial ID.





Fonte

$rendered = apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context );