referee_transactions.php
/**
 * Adds a submenu page under a custom post type parent.
 */
Adds a submenu page under a custom post type parent.
Adds a submenu page under a custom post type parent .
function register_referees_transactions() {
    add_submenu_page(
        'edit.php?post_type=referee_transactions',
        __( 'Referees Appointments Upload page', 'textdomain' ),
        __( 'Referees  Appointments Upload page', 'textdomain' ),
        'edit_posts',
        'referees_transaction_upload',
        'referees_transactions_callback'
    );
}
function register_referees_transactions ( ) { add_submenu_page ( 'edit.php?post_type=referee_transactions' , __ ( 'Referees Appointments Upload page' , 'textdomain' ) , __ ( 'Referees  Appointments Upload page' , 'textdomain' ) , 'edit_posts' , 'referees_transaction_upload' , 'referees_transactions_callback' ) ; }
Adds a submenu page under a custom post type parent.
Adds a submenu page under a custom post type parent .