This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
plugins:hooks_filters [2017/01/19 16:07] lokothodida [Creating and Using Plugin Hooks] |
plugins:hooks_filters [2017/01/19 16:10] (current) lokothodida [Creating and Using Plugin Hooks/Filters] |
||
---|---|---|---|
Line 107: | Line 107: | ||
<code> | <code> | ||
- | exec_action( $hook_name ); | + | exec_action( 'hook_name' ); |
</code> | </code> | ||
<code> | <code> | ||
- | exec_filter( $filter_name, $value ); | + | exec_filter( 'filter_name', 'value_to_filter' ); |
</code> | </code> | ||