• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / src/integrations/watchers/primary-category-quick-edit-watcher.php


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. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: src/integrations/watchers/primary-category-quick-edit-watcher.php
      Plugin ref: Yoast SEO
      Version: 20.13
      Deprecated?: No
      API Letters: C,I,P,S,W

      Published: 18th April 2021 | Last updated: 14th September 2022

      Primary Sidebar

      Information

      File name: src/integrations/watchers/primary-category-quick-edit-watcher.php
      Plugin ref: Yoast SEO
      Version: 20.13
      Deprecated?: No
      API Letters: C,I,P,S,W

      src/integrations/watchers

      Footer

      Yoast SEO a2z
      Yoast SEO a2z
      WordPress SEO a2z
      WordPress 6.3.1
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  wordpress-seo.wp-a2z.org
      © Copyright Yoast SEO a2z 2017-2023. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites