Hook
Last updated
Last updated
The hook
block is a function that allows you to include a WordPress Action to change what WordPress is doing by default.
It currently accepts one parameter: the Hook name.
You can add show/hide conditions to your Hook from the Primary tab as required.
The easiest way to add a Heading is through the Cwicly Quick Inserter.
Enable the Quick Inserter.
Find the Quick Inserter to the left of the editor and search for Hook.
Click to add to the page.
You can call actions created by WordPress or third-party plugins by simply entering the hook's name in the appropriate field.
With the Hook block selected, open the Primary tab.
Input Hook name.
Or, you can create your own action through your theme's functions.php file or a code snippet plugin.