WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Does the WordPress SEO plugin by yoast provide hooks? (3 posts)

  1. tattvajit
    Member
    Posted 2 years ago #

    I am looking to add custom content (Pods) to the sitemap. The sitemap generator plugin provides hooks for doing this:

    add_action( 'sm_buildmap', 'pods_sm' );
    do_action( 'sm_rebuild' );

    Does WordPress SEO by yoast provide any such hooks or APIs for customizing the sitemap?

  2. Scott Kingsley Clark
    Member
    Posted 2 years ago #

    I see a bunch of actions and filters in the file, check at /wordpress-seo/inc/class-sitemaps.php

    Also, feel free to release your code for other Pods users who might want to do the same, I'm sure it could be very helpful.

  3. tattvajit
    Member
    Posted 2 years ago #

    Scott, thanks for the pointer. I'll certainly post the code either here or over at the Pods forum once I get it working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic