-
Notifications
You must be signed in to change notification settings - Fork 6
Pluggable Functions—Plugin Overrides
{{Update this list as necessary}}
{{Explain what this hook does and why a developer would want/need to utilize it.}}
-
${{argument_1}}{{string/int/obj/array/bool}}{{Briefly explain what is stored in this param}}
-
${{argument_2}}{{string/int/obj/array/bool}}{{Briefly explain what is stored in this param}}
{{string/int/obj/array/bool/void}}: {{Description of what functions using this hook should return}}
// {{Describe what this filter is doing}}
function ...( ${{argument_1}}, ${{argument_2}} ) {
...
}
add_filter( '{{my_hook_1}}', '...', 10, 2 );{{Explain what this hook does and why a developer would want/need to utilize it.}}
-
${{argument_1}}{{string/int/obj/array/bool}}{{Briefly explain what is stored in this param}}
-
${{argument_2}}{{string/int/obj/array/bool}}{{Briefly explain what is stored in this param}}
{{string/int/obj/array/bool/void}}: {{Description of what functions using this hook should return}}
// {{Describe what this filter is doing}}
function ...( ${{argument_1}}, ${{argument_2}} ) {
...
}
add_filter( '{{my_hook_2}}', '...', 10, 2 );{{Add hook information as needed for all hooks provided in this theme}}