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 a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

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

Let's Talk