• 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter tattvajit

    (@tattvajit)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Does the WordPress SEO plugin by yoast provide hooks?’ is closed to new replies.