Yoast Support kindly provided me with the following reference:
https://yoast.com/wordpress/plugins/seo/api/
Using the following filters calling my own functions, I was able to change everything in the header based on dynamic content.
add_filter('wpseo_title', 'setPageTitle', 10);
add_filter('wpseo_metadesc', 'setMetaDesc', 10);
add_filter('wpseo_canonical', 'setCanonical', 10);
add_filter('wpseo_opengraph_image', 'setOG_Image', 10);
add_filter('the_title', 'setTitle', 10);
Related Posts:
- Can I change the contents of a description meta tag generated by Yoast?
- Getting error when trying to implement site-wide breadcrumbs in Twentytwentyone Theme [closed]
- WordPress yoast seo plugin – parse snippet var in meta description
- Workaround for og:image unsupported webp image type, Yoast SEO?
- seo meta description issue in google search
- Display current category title on category page
- Genesis – Customize search form
- Adding a search form inside a div
- Custom Yoast Breadcrumbs URL
- Current post’s author name in the author meta tag
- Set Primary category using the Yoast SEO plugin
- StudioPress: add meta tag to every page [closed]
- How to add specific menu on a specific page or pages
- A Specific Blog post to be assigned as the landing page of my wordpress blog
- A solution to set metatags with my page generating plugin?
- WordPress plugin for nicer looking slugs? Have multiple pages named the same but they get different slugs
- Add meta noindex to post if it has a specific taxonomy
- How to remove role=”navigation” from all nav elements?
- wp_enqueue_scripts leads to error
- Auto-Select Parent Category as Primary
- Change title only in dynamic page
- Adding function to Genesis genesis_header [closed]
- Can’t print Yoast meta description into page template (syntax error, unexpected ‘.’) [closed]
- Category title output before opening title tag
- How to remove Date from Meta Description on SERP?
- Display Yoast meta-description `wpseo_desc` within loop of categories and fail silently if no data is set [closed]
- Seo Friendly Filter URLs
- Use custom template on custom post type
- How to add no follow to specific links?
- .html end of URl affected to SEO?
- Can’t change website Title on wordpress
- Nginx WordPress and another Web app URL structure
- Randomize Color Scheme Selection in Theme
- Get All In One SEO Pack to use custom field instead of Content
- Hard-coding a shortcode as the last menu item in primary navigation?
- Create a slug for a page in WordPress
- WordPress: Export/Import Yoast meta title & description to custom taxonomy
- Obfuscate links (for SEO purpose) [closed]
- Custom URL for multiple categories hierarchy
- 404 on old link after changing post url
- Tag title not being returned in page title of tag archives
- Retrieve alt text by referencing the img src
- Custom function that re-writes page title breaks when the Yoast plugin is activated
- Does anyone know why my SEO and title become one?
- Yoast Breadcrumbs Inject Multiple Levels
- Replace header with large image on home page only, using Genesis child theme
- Using $this with an anonymous function in filters
- How to display custom seo title before the loop?
- Add missing alt tag to featured images for “storefront” theme
- Adding custom PHP to existing loop in Genesis
- Redirect homepage /page/1/ to /blog/page/1/
- Magento and WordPress URL integration [closed]
- Wrapping the_content() in Schema articleBody tag? [closed]
- Inserting a shortcode into a genesis menu?
- Custom HTML/CSS Theme into WordPress – SEO considerations
- How to modify default tags in wp_head()
- Remove datePublished and dateModified from Yoast Schema output on WordPress website
- How to do SEO friendly filters urls?
- How to add query string at the end of sitemap Yoast SEO
- Convert hex color to RGB values in PHP
- Calculate business days
- How do I make a redirect in PHP?
- How to add elements to an empty array in PHP?
- What do ++ and *+ mean?
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- Undefined function mysql_connect()
- MySQL column count doesn’t match value count at row 1 [closed]
- Matching a space in regex
- Undefined function mysql_connect()
- How can I send an email using PHP?
- Fatal error: Call to undefined function mysql_connect()
- count() parameter must be an array or an object that implements countable in laravel
- Go Back to Previous Page
- How do I check if a string contains a specific word?
- How do I replace part of a string in PHP? [duplicate]
- How to declare a global variable in php?
- How to fix “Headers already sent” error in PHP
- Fatal error: Call to undefined function mysql_connect()
- How to fix ‘Notice: Undefined index:’ in PHP form action
- Loop through an array php
- Deprecated: mysql_connect()
- Where does PHP store the error log? (PHP 5, Apache, FastCGI, and cPanel)
- Chrome net::ERR_INCOMPLETE_CHUNKED_ENCODING error
- Illegal string offset Warning PHP
- What is PHPSESSID?
- MySQL “Or” Condition
- What is the significance of the number, 32767?
- PHP – how to create a newline character?
- How to add a line break within echo in PHP?
- How to read a large file line by line?
- Best way to do multiple constructors in PHP
- how to set featured image in non-wordpress
- How to get URL of current page displayed?
- Undefined variable in functions.php file [closed]
- What are PHP extensions and libraries WP needs and/or uses?
- What is the correct way to use WordPress functions outside WordPress files?
- Allow HTML in excerpt
- How to get WordPress Time Zone setting?
- how to get page id of a page using page slug
- Check if current page is the Blog Page