Skip to content

Instantly share code, notes, and snippets.

@lumpysimon
Created March 21, 2013 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lumpysimon/5211967 to your computer and use it in GitHub Desktop.
Save lumpysimon/5211967 to your computer and use it in GitHub Desktop.
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