' ).appendTo( 'head' ); jQuery( function($) { $( 'body' ).addClass('js'); } );
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Browse: Home / Reference

Want to know what's going on inside WordPress? Search the Code Reference for more information about WordPress' functions, classes, methods, and hooks.

Try it out:

Filter by type:

Or browse through topics:

  • Functions
  • Hooks
  • Classes
  • Methods

New & Updated in WordPress 5.8:

  • add_theme_support()
  • admin_url
  • allowed_block_types_all
  • block_categories_all
  • block_editor_rest_api_preload()
  • block_editor_rest_api_preload_paths
  • block_editor_settings_all
  • block_has_support()
  • build_query_vars_from_query_block()
  • clean_user_cache()
  • current_user_can()
  • current_user_can_for_blog()
  • deactivated_plugins_notice()
  • deleted_theme
  • delete_theme
  • View all…

API

  • Dashboard widgets
  • Database
  • HTTP API
  • Filesystem
  • Global Variables
  • Metadata
  • Options
  • Plugins
  • Quicktags
  • REST API
  • Rewrite
  • Settings
  • Shortcode
  • Theme Modification
  • Transients
  • XML-RPC
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.