Page Links To – Limit to Rotator

<?php
/**
* Page Links To - Limit to Rotator
* @author Bill Erickson
* @link http://wordpress.org/extend/plugins/page-links-to/
* @link http://www.billerickson.net/code/page-links-to-limit-to-rotator
*
* @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 gistfile1.aw 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