Created
March 21, 2013 10:07
-
-
Save lumpysimon/5211967 to your computer and use it in GitHub Desktop.
Sublime Text snippet: WordPress add_action / add_filter in class PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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