Changyan_Handler::setup PHP Method

setup() public method

public setup ( )
    public function setup()
    {
        //must check that the user has the required capability
        if (!current_user_can('manage_options')) {
            wp_die(__('You do not have sufficient permissions to access this page.'));
        }
        //tips
        include dirname(__FILE__) . '/setup.php';
    }