Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.

Sublime Text 3 WordPress Package

Sublime Text 3 WordPress Package is a collection of WordPress snippets and autocompletions for Sublime Text 2 or 3


Autocomplete for:

WP version : 4.8.1

Functions          : 2909
Hooks              : 2045
Constants/Classes  :  866


Deprecated functions (219) have been removed

The first "tab" deletes all parameters instead of having to tab through each one:

  • First Tab-->Select all parameters
  • Each Tab Thereafter-->Selects each individual parameter or block


Some updated snippets use the same name as the function, the autocomplete will show an "ALL Options" selection. For example to register a custom post type you would write register_post.... Please review the snippets <tabTrigger> to see how to call the rest.

Special thanks for updated scraping:

Original TextMate author : Gipetto
Original scraper : @ericandrewlewis
Scraper :@wycks
Latest scraper :@jtsternberg


Sublime won't autocomplete PHP files when there is no closing ?> tags , so in "Preferences-->Settings-User" add this snippet:

"auto_complete_selector": "source, text",

Install instructions

Just install via package control (WordPress) or clone into your sublime-text-3 package directory.