YoastWPSEOadmin_post_types_beforearchive
YoastWPSEOadmin_post_types_beforearchive
Appears in: wordpress-seo.16.3, wordpress-seo.16.4, wordpress-seo.16.5, wordpress-seo.16.6, wordpress-seo.16.6.1, wordpress-seo.16.7, wordpress-seo.16.8, wordpress-seo.16.9, wordpress-seo.17.0, wordpress-seo.17.1, wordpress-seo.17.2, wordpress-seo.17.2.1, wordpress-seo.17.3, wordpress-seo.17.4, wordpress-seo.18.3, wordpress-seo.18.4.1, wordpress-seo.18.5.1, wordpress-seo.18.7, wordpress-seo.18.8, wordpress-seo.19.0, wordpress-seo.19.1, wordpress-seo.19.2, wordpress-seo.19.3, wordpress-seo.19.5.1, wordpress-seo.19.6, wordpress-seo.19.6.1, wordpress-seo.19.7.1, wordpress-seo.19.7.2, wordpress-seo.19.8, wordpress-seo.19.9
Hook Type: action
See hook in action
Displaying hooks found in version: wordpress-seo.19.9do_action('YoastWPSEOadmin_post_types_beforearchive') is found 1 times:
- /admin/views/tabs/metas/paper-content/post-type-content.php line 28
* * @param Yoast_Form $yform The Yoast_Form object. * @param string $name The post type name. */ do_action( 'Yoast\WP\SEO\admin_post_types_beforearchive', $yform, $wpseo_post_type->name ); if ( $wpseo_post_type->name === 'product' && YoastSEO()->helpers->woocommerce->is_active() ) { require __DIR__ . '/post_type/woocommerce-shop-page.php'; return; }