Last active
June 1, 2026 12:19
-
-
Save wp-seopress/df83069973daf98cbddcab03bf060bb0 to your computer and use it in GitHub Desktop.
Filter the post types used to generate the Markdown version
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_agent_ready_markdown_post_types', 'sp_agent_ready_markdown_post_types', 10, 1 ); | |
| function sp_agent_ready_markdown_post_types( $types ) { | |
| $types[] = 'your_cpt_key'; | |
| $types[] = 'your_cpt_key_2'; | |
| return $types; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment