Created
November 11, 2011 15:23
-
-
Save billerickson/1358251 to your computer and use it in GitHub Desktop.
Page Links To - Limit 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
<?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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment