republish-posts.php
/**
 * Setup metaboxes and actions for the administration panel
 * @wp-hook	plugins_loaded
 * @return	void
 */
Setup metaboxes and actions for the administration panel
@wp-hook     plugins_loaded
@return      void
Setup metaboxes and actions for the administration panel @wp - hook plugins_loaded @return void
function rpInit()
{
    if ( ! is_admin() ) { 
        return;
    }
    require_once dirname( __FILE__ ) . '/includes/admin.php';
    add_action('add_meta_boxes_post', 'rpPostMeta');
    add_action('save_post_post', 'rpSavePostMeta');
}
function rpInit ( ) { if ( ! is_admin ( ) ) { return ; } require_once dirname ( __FILE__ ) . '/includes/admin.php' ; add_action ( 'add_meta_boxes_post' , 'rpPostMeta' ) ; add_action ( 'save_post_post' , 'rpSavePostMeta' ) ; }
Setup metaboxes and actions for the administration panel
 @wp-hook     plugins_loaded
 @return      void
Setup metaboxes and actions for the administration panel @wp - hook plugins_loaded @return void
//Some basic security check