Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Plugin Name: Simo BILS Shortcuts
- * Description: Add custom shortcuts to <a href="http://wordpress.org/plugins/better-internal-link-search/">Better Internal Link Search</a>.
- * Version: 1.0.0
- * Author: simoreds
- * License: GPL-2.0+
- * License URI: http://www.gnu.org/licenses/gpl-2.0.html
- */
- function simo_bils_shortcuts( $shortcuts ) {
- $shortcuts['tuscany'] = array(
- 'title' => 'Tuscany',
- 'permalink' => 'http://www.gate-away.com/property_region.php?region=16',
- );
- $shortcuts['sicily'] = array(
- 'title' => 'Sicily',
- 'permalink' => 'http://www.gate-away.com/property_region.php?region=xx',
- );
- asort( $shortcuts );
- return $shortcuts;
- }
- add_filter( 'better_internal_link_search_shortcuts', 'simo_bils_shortcuts' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement