Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text snippet: WordPress add_action / add_filter in class PHP
<snippet>
<content><![CDATA[
add_${1:action}( '${2:hook}', $5array( \$this, '${3:function}' )${4:, 10, 2} );]]></content>
<tabTrigger>lwpadd</tabTrigger>
<scope>source.php</scope>
<description>add_action or add_filter (Lumpy WordPress PHP)</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment