All features
Cherry Blossom feature
Plugin integration: Rank Math
Provides the theme's Rank Math integration.
Provides the theme's Rank Math integration.
Capabilities and extension points
Initializes the Rank Math integration.
Registers Rank Math integration hooks.
Adds Rank Math breadcrumb support to the theme.
Gets the Rank Math primary category for a post.
- param int|null $post_id Optional post ID. Defaults to the current post.
- return \WP_Term|null Primary category term, or null when absent, invalid or unavailable.
Source reference
This editable reference page is based on the PHP documentation in plugins/class-rank-math.php.