ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Word​Press Snippets

by Dartui ALL

Wordpress Snippets for Sublime Text 3

Details

Installs

  • Total 32K
  • Win 24K
  • Mac 5K
  • Linux 3K
Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23
Windows 0 3 4 4 1 0 2 1 0 3 5 6 1 1 4 8 2 2 3 1 3 2 3 4 1 1 2 0 1 1 2 3 0 3 2 0 2 2 1 1 3 1 0 2 5 2
Mac 0 1 1 0 0 0 0 1 2 0 2 0 1 0 1 1 1 1 0 1 0 1 1 0 2 0 0 1 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 1 0 0
Linux 0 0 0 1 0 0 0 0 0 2 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

Wordpress Snippets for Sublime Text 3

Simple snippets for Wordpress elements, such as meta boxes, pages, subpages, post types, taxonomies, etc…

How to use

In PHP scope write wp_ and find snippet you want to use. Each snippet is class-based, so it cannot be used outside of class (e.g. in functions.php).

List of snippets

  • wp_plugin_wrapper - class-based wrapper for plugin development
  • wp_meta_box - adds meta box for post type with callback
  • wp_menu_page - adds menu in admin dashboard with callback
  • wp_submenu_page - adds submenu in admin dashboard with callback
  • wp_enqueue_scripts - adds action and one line of script
  • wp_enqueue_script - adds one line of script