Lines:
1 to 25 of 25
<?php namespace Yoast\WP\SEO\Integrations\Watchers; use WP_Post; use WPSEO_Meta; use Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder; use Yoast\WP\SEO\Conditionals\Admin\Doing_Post_Quick_Edit_Save_Conditional; use Yoast\WP\SEO\Conditionals\Migrations_Conditional; use Yoast\WP\SEO\Helpers\Options_Helper; use Yoast\WP\SEO\Helpers\Post_Type_Helper; use Yoast\WP\SEO\Integrations\Integration_Interface; use Yoast\WP\SEO\Models\Indexable; use Yoast\WP\SEO\Repositories\Indexable_Repository; use Yoast\WP\SEO\Repositories\Primary_Term_Repository; /* class Primary_Category_Quick_Edit_Watcher */ /* function Primary_Category_Quick_Edit_Watcher::__construct() – Primary_Category_Quick_Edit_Watcher constructor. */ /* function Primary_Category_Quick_Edit_Watcher::register_hooks() – Initializes the integration. */ /* function Primary_Category_Quick_Edit_Watcher::get_conditionals() – Returns the conditionals based on which this loadable should be active. */ /* function Primary_Category_Quick_Edit_Watcher::validate_primary_category() – Validates if the current primary category is still present. If not just remove the post meta for it. */ /* function Primary_Category_Quick_Edit_Watcher::get_primary_term_id() – Returns the primary term id of a post. */ /* function Primary_Category_Quick_Edit_Watcher::remove_primary_term() – Removes the primary category. */ /* function Primary_Category_Quick_Edit_Watcher::build_post_hierarchy() – Builds the hierarchy for a post. */