where to place “add_action” function call
-
Reading up on how to use the “post format” function I found a reference on the wpexplorer.com website:
https://www.wpexplorer.com/wordpress-post-formats-guide/
This guide describes the function that must be added to functions.php, and follows with an additional function call that must be added “add_action”.
Looking though the code in my functions.php file I notice that every instance of the “add_action” function call is within the a function definition.
So my question is: Is this an error in the example offered by the wpexplorer.com?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘where to place “add_action” function call’ is closed to new replies.