<?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' ); |
This file contains 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