VaultPress::connect_notice PHP Method

connect_notice() public method

show message if plugin is activated but not connected to VaultPress
public connect_notice ( )
    function connect_notice()
    {
        if (isset($_GET['page']) && 'vaultpress' == $_GET['page']) {
            return;
        }
        $message = sprintf(__('You must enter your registration key before VaultPress can back up and secure your site. <a href="%1$s">Register&nbsp;VaultPress</a>', 'vaultpress'), admin_url('admin.php?page=vaultpress'));
        $this->ui_message($message, 'notice', __('VaultPress needs your attention!', 'vaultpress'));
    }
VaultPress