Now Updated for WordpPess 4.8.1 release
This extension for Visual Studio Code adds snippets for WordPress. More Snippets will coming soon just release.
See the CHANGELOG for the latest changes
Type part of a snippet, press enter
, and the snippet unfolds.
ADMIN_COOKIE_PATH // Core ADMIN COOKIE PATH constant
add_blog_option // Add a new option for a given blog id.
add_action // Core Hooks a function on to a specific action.
1. Dashboard functions // 20 Added
2. Meta tag functions // 5 Added
3. Shoertcode functions // 5 Added
2. Widget functions // 5 Added
wp_change_admin_footer_text // Change Dashboard footer text
wp_disable_visual_editor // Disable Visual Editor
wp_change_admin_logo // Change Admin Logo
wp_column_thumbnail_to_post_list // Add thumbnail column to post listing
wp_remove_admin_bar // Remove Admin Bar
wp_remove_dashboard_css // Remove Dashboard Css
wp_remove_dashboard_widget // Remove dashboard widget
wp_meta_open_graph // Add open graph meta tag
wp_shortcode_member_content // Only Member can view the content
wp_widget_disable_page //Disbale widget from custom page
wp_widget_disable_page_and_role //Disable Widget from Specific page by user role
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
- Install Visual Studio Code 1.10.0 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) orCmd
-Shift
-P
(OSX) - Select
Install Extension
- Choose the extension
- Reload Visual Studio Code