wordpress dev

https://developer.wordpress.org/reference/

WordPress 主题教程
http://blog.wpjam.com/article/wp-theme-lessons/
WordPress 插件教程
http://blog.wpjam.com/article/write-plugin-by-yourself/

Hooks
• add_filter
• add_action
• apply_filters
• do_action
http://codex.wordpress.org/Plugin_API/
http://codex.wordpress.org/Plugin_API/Hooks
http://blog.wpjam.com/m/wordpress-action-hooks/

$wpdb
• prepare
• get_results
• get_row
• delete
• insert
• update
http://codex.wordpress.org/Class_Reference/wpdb

WP_Query
The most import class in WordPress
http://codex.wordpress.org/Class_Reference/WP_Query

Post Meta
• add_post_meta
• update_post_meta
• delete_post_meta
http://blog.wpjam.com/article/wordpress-custom-fields/

Custom Post Type
• register_post_type
http://codex.wordpress.org/Function_Reference/register_post_type

Custom Taxonomy
• register_taxonomy
http://codex.wordpress.org/Function_Reference/register_taxonomy

Term Meta
Plugin:simple term meta
https://wordpress.org/plugins/simple-term-meta/
• add_term_meta
• update_term_meta
• delete_term_meta

Setting API
• update_option
• get_option
• delete_option
http://codex.wordpress.org/Settings_API

Transients API
• set_transient
• get_transient
• delete_transient
http://blog.wpjam.com/article/wordpress-transients-api/

WP_Http
• wp_remote_get
• wp_remote_post
http://blog.wpjam.com/article/wp-http/

Shortcode
• add_shortcode
• do_shortcode
• remove_shortcode
http://blog.wpjam.com/article/wordpress-shortcode/

Users
• get_userdata
• get_current_user
• get_current_user_id
• Role and Capabilities
http://blog.wpjam.com/article/ultimate-guide-to-roles-and-capabilities/

Rewrite API
• generate_rewrite_rules
• flush_rewrite_rules
http://codex.wordpress.org/Rewrite_API/

WP_Cron
• wp_schedule_event
http://blog.wpjam.com/article/using-wp-cron-schedule-jobs-in-wordpress/

Tell others about me!

Leave a Reply

Your email address will not be published. Required fields are marked *