Project Type: WordPress Reference

WP_Post_Type Class

Core class for interacting with post types. Since: 4.6.0 Source: wp-includes/class-wp-post-type.php final class WP_Post_Type { // ... } Properties $name Post type key. public string $name; Since: 4.6.0 $label Name...

Post Types API Functions

Core functions for post type registration and management. Source: wp-includes/post.php register_post_type() Registers a new post type. Must be called during the init action. register_post_type( string $post_type, array|string $args = array()...

Post Types API Hooks

Actions and filters for post type registration and management. Source: wp-includes/post.php, wp-includes/class-wp-post-type.php Actions registered_post_type Fires after a post type is registered. do_action( 'registered_post_type', string $post_type, WP_Post_Type $post_type_object ) Since: 3.3.0...

Post Types API

Framework for registering and managing WordPress post types. Since: 2.9.0 Source: wp-includes/post.php, wp-includes/class-wp-post-type.php Components Component Description functions.md Core registration and retrieval functions class-wp-post-type.md Post type object (since 4.6.0) hooks.md Actions...

WordPress Plugin API Overview

The Plugin API is WordPress's system for extending core functionality through modular code packages. It encompasses plugin loading, activation lifecycle, pluggable functions, and mu-plugins. Plugin Types Standard Plugins (wp-content/plugins/) Installed...

Plugin Dependencies Hooks

Filters for the Plugin Dependencies API. Filters wp_plugin_dependencies_slug Filters a dependency slug before validation against WordPress.org slug format. apply_filters( 'wp_plugin_dependencies_slug', string $slug ) Parameter Type Description $slug string The dependency...

Plugin Dependencies API

Framework for declaring and resolving plugin dependencies in WordPress. Since: 6.5.0 Source: wp-includes/class-wp-plugin-dependencies.php Components Component Description class-wp-plugin-dependencies.md Static class for dependency resolution hooks.md Actions and filters Declaring Dependencies Plugins declare...

WordPress Plugin Functions

Core functions for plugin management, URLs, lifecycle hooks, and utilities. Plugin Path & URL Functions plugin_basename( $file ) Extracts the plugin's relative path from its absolute file path. // In...

WordPress Plugin-Specific Hooks

This document covers hooks specifically related to plugin lifecycle, management, and pluggable function customization. For the general action/filter system, see the hooks-api documentation. Plugin Activation Hooks activate_plugin Fires before a...

WordPress Pluggable Functions

Pluggable functions are core WordPress functions that can be completely overridden by plugins. They are defined conditionally in wp-includes/pluggable.php using if ( ! function_exists() ) wrappers. How to Override Define...

← Back to Chubes.net