Page Links To – Limit to Rotator

* Page Links To - Limit to Rotator
* @author Bill Erickson
* @link
* @link
* @param array $post_types default
* @return array $post_types modified
function be_page_links_to_rotator( $post_types ) {
return array( 'rotator' );
add_filter( 'page-links-to-post-types', 'be_page_links_to_rotator' );
view raw hosted with ❤ by GitHub

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk