This is the list of hooks available for SEOPress. This section is for advanced users.
Read this guide to learn more about adding hooks to your WordPress site.
Getting started Getting started
- SEOPress deactivation hook
- SEOPress activation hook
- Filter to enable/disable SEOPress setup wizard
- Filter to enable/disable SEOPress CSV wizard
- Filter the paged tag in title / meta description (%%current_pagination%%)
- Filter stop words list by language
- Filter Search results tag in title / meta description (%%search_keywords%%)
Analytics Analytics
- Remove Google Analytics Widget in WordPress Dashboard
- Filter WooCommerce order status sent to Google Analytics Enhanced Ecommerce
- Filter user consent message HTML
- Filter user consent message
- Filter user consent inline styles
- Filter the expiration date of the user consent cookie
- Filter the cross domains Matomo feature
- Filter tags tracking custom dimension with Google Analytics
- Filter tags custom dimension in Matomo
- Filter Remove From Cart event for Google Enhanced Ecommerce
- Filter post types tracking custom dimension with Google Analytics
- Filter No JS Matomo feature
- Filter Measurement ID for Google Analytics v4
- Filter Matomo tracking code
- Filter Matomo prepend site domain
- Filter Matomo cookie domain
- Filter logged in users tracking custom dimension with Google Analytics
- Filter HTML additional tracking code in footer body
- Filter HTML additional tracking code in body
- Filter HTML additional tracking code
- Filter Google Optimize container ID
- Filter Google Analytics UA + features
- Filter Google Analytics tracking with a custom dimension
- Filter Google Analytics tracking
- Filter Google Analytics Remarketing feature
- Filter Google Analytics Link Attribution feature
- Filter Google Analytics IP Anonymization feature
- Filter Google Analytics external links tracking
- Filter Google Analytics Ecommerce purchase tracking
- Filter Google Analytics downloads tracking
- Filter Google Analytics Dashboard widget capability
- Filter Google Analytics Cross-domain tracking feature
- Filter Google Analytics affiliate / outbound links tracking
- Filter Google Ads
- Filter Download & Outlink tracking Matomo feature
- Filter Do Not Track (DNT) Matomo feature
- Filter disable all tracking cookies Matomo feature
- Filter Custom Post Type custom dimension in Matomo
- Filter connected users custom dimension in Matomo
- Filter categories tracking custom dimension with Google Analytics
- Filter categories custom dimension in Matomo
- Filter authors tracking custom dimension with Google Analytics
- Filter author custom dimension in Matomo
- Filter Add To Cart events for Google Enhanced Ecommerce
- Disable heatmaps and session recordings for Matomo
- Add custom tracking code with user consent
Appearance Appearance
- Remove SEOPress’ bulk edit actions
- Remove SEOPress node from admin bar
- Remove SEOPress menu/submenu pages
- Remove SEOPress icons in header
- Remove SEOPress credits in footer admin pages
- Remove SEOPress admin header
- Hide specific PRO tabs settings
- Filter the list of SEOPress features on the dashboard page
- Filter tabs in SEO metabox
- Filter Structured data types metabox call by post type
- Filter SEO Metabox call by post type
- Filter SEO Metabox call by custom taxonomy
- Filter SEO admin menu
- Filter noindex alert HTML from admin bar
- Change / remove SEOPress icon in admin bar
- Add your custom logo in SEOPress admin header
Breadcrumbs Breadcrumbs
- Force the display of the custom post type archive page even if it does not exist in breadcrumbs
- Filter crumbs from breadcrumbs
- Filter breadcrumbs separator
- Filter breadcrumbs inline CSS
- Filter breadcrumbs HTML
- Display breadcrumbs before main content with DIVI theme
- Delete the custom post type archive from a single view for the breadcrumb
- Add content before / after breadcrumbs
Broken links / 404 monitoring Broken links / 404 monitoring
- Filter the exclusion list of robots from the 404 monitoring
- Filter the CRON 404 cleanup query
- Filter broken links checker query
- Exclude URL starting with specific values from 404 monitoring
Content Analysis Content Analysis
- Filter the content to calculate the number of words in the content analysis
- Filter the analyzed content
- Filter Content Analysis Metabox call by post type
Google Snippet Preview Google Snippet Preview
Image Image
- Filter automatic image title
- Filter automatic image attributes
- Filter automatic image alt tag with target keywords
Knowledge Graph Knowledge Graph
License License
Meta Meta
- Filter single product tag array using %%wc_single_tag%%
- Filter single product category array using %%wc_single_cat%%
- Filter meta title
- Filter meta robots nosnippet
- Filter meta robots noodp
- Filter meta robots noindex
- Filter meta robots nofollow
- Filter meta robots noarchive
- Filter meta robots attributes
- Filter meta robots
- Filter meta google noimageindex
- Filter meta description
- Filter excerpt length (or beginning of post content) in metas
- Filter dynamic variables array
- Filter Dublin Core title
- Filter Dublin Core source
- Filter Dublin Core relation
- Filter Dublin Core language
- Filter Dublin Core description
- Filter canonical URL
- Filter author meta name
- Filter article tag meta
- Filter article section meta tag
- Filter article published time meta
- Filter article modified time meta
- Filter %%seopress_titles_post_url%% dynamic variable
- Filter %%seopress_titles_post_thumbnail_url%% dynamic variable
- Filter %%post_tag%% dynamic variable
- Filter %%post_category%% dynamic variable
- Filter %%_ct_your_custom_taxonomy_slug%% dynamic variable
- Filter “page” dynamic variable
- Add your custom global dynamic variables for title tag / meta description
Misc Misc
- PRO theme (Themeco) / WPML compatibility for XML sitemaps
- Filter user capabilities
- Filter the_title with SEOPress dynamic variables
- Filter the_content with SEOPress dynamic variables
- Filter the arguments of the metadata terms export query
- Filter the arguments of the metadata export query
- Filter SEOPress installation wizard steps
- Filter SEOPress CSV wizard steps
- Filter post types list used by SEOPress
- Filter Local Business widget inline CSS
- Disable automatic resizing of Elementor panel
Robots.txt Robots.txt
Sitemap Sitemap
- Remove archive links per post type in HTML sitemap
- Filter XML video sitemap query
- Filter XML video sitemap
- Filter XML sitemaps headers
- Filter XML sitemap single taxonomy
- Filter XML single post type sitemap
- Filter XML news sitemap
- Filter XML index sitemap
- Filter XML author sitemap query
- Filter XML author sitemap
- Filter video index sitemap query
- Filter urlset tag in XML sitemaps
- Filter to enable/disable post date by post type in HTML sitemap
- Filter the depth limit for hierarchical contents in the HTML sitemap
- Filter taxonomies list in XML index sitemap
- Filter standard image URLs in XML image sitemaps
- Filter single taxonomy XML sitemap query
- Filter single post type XML sitemap query
- Filter max videos per paginated sitemap
- Filter max terms per paginated sitemap
- Filter max posts per paginated sitemap
- Filter latest post type query in XML index sitemap
- Filter latest post query for Google News in XML index sitemap
- Filter keywords in XML news sitemap
- Filter HTML sitemap query
- Filter HTML Sitemap category query for posts
- Filter home_url in XML sitemaps
- Filter hierarchical post type query in HTML sitemap
- Filter Google News XML sitemap query
- Filter Custom Post Type index XML sitemap query
- Filter custom post type in HTML sitemap
- Filter custom post type archive link in XML single sitemaps
- Enable / disable execution of shortcodes in XML image sitemaps
- Disable lastmod column in index sitemaps
- Add target keywords to Google News XML sitemaps
- Add external URLs to XML index sitemaps
- Add custom fields to image sitemaps
- Activate wp_ob_end_flush_all for sitemaps
Social Social
- Filter Twitter Card title
- Filter Twitter Card thumbnail
- Filter Twitter Card summary
- Filter Twitter Card site
- Filter Twitter Card description
- Filter Twitter Card creator
- Filter title used in Oembed
- Filter post thumbnail size used in Oembed
- Filter post thumbnail in Oembed
- Filter Open Graph URL
- Filter Open Graph title
- Filter Open Graph thumbnail
- Filter Open Graph sitename
- Filter Open Graph description
- Filter Open Graph Author / Publisher
- Filter OG updated time meta
- Filter locale Open Graph
Structured Data Types Structured Data Types
- Get old manual schemas (fallback)
- Filter Structured data types metabox call by post type
- Filter SiteNavigationElement schema
- Filter Organization schema
- Filter manual video schema
- Filter manual software application schema
- Filter manual service schema
- Filter manual review schema
- Filter manual recipe schema
- Filter manual product schema
- Filter manual local business schema
- Filter manual Job schema
- Filter manual FAQ schema
- Filter manual event schema
- Filter manual custom schema
- Filter manual course schema
- Filter manual article schema
- Filter Local Business widget title
- Filter Local Business widget street address
- Filter Local Business widget state
- Filter Local Business widget postal code
- Filter Local Business widget phone number
- Filter Local Business widget opening hours
- Filter Local Business widget map link
- Filter Local Business widget description
- Filter Local Business widget country
- Filter Local Business widget city
- Filter custom fields list in schemas
- Filter automatic video schema
- Filter automatic software application schema
- Filter automatic service schema
- Filter automatic review schema
- Filter automatic recipe schema
- Filter automatic product schema
- Filter automatic local business schema
- Filter automatic job schema
- Filter automatic FAQ schema
- Filter automatic event schema
- Filter automatic custom schema
- Filter automatic course schema
- Filter automatic article schema