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



get_sidebar › Działania WordPress Hooks

Od5.5.0
Przestarzałyn/a
do_action( 'get_sidebar', $name, $args )
Parametry: (2)
  • (string|null) $name Name of the specific sidebar file to use. Null for the default sidebar.
    Wymagane: Tak
  • (array) $args Additional arguments passed to the sidebar template.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires before the sidebar template file is loaded.





Źródło

do_action( 'get_sidebar', $name, $args );