Created
June 16, 2026 13:34
-
-
Save wp-seopress/88145048e9834131cb616a4b4c8c7d24 to your computer and use it in GitHub Desktop.
Filter the generated video sitemap content of a post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'seopress_pro_video_sitemap_builder_content', 'sp_pro_video_sitemap_builder_content', 10, 2 ); | |
| function sp_pro_video_sitemap_builder_content( $buffer, $post_id ) { | |
| // Adjust the <video:video> entries generated for this post. | |
| return $buffer; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment