/** * Checks to see if the plugin is installed. * * If not, installs it. * * @access public * @static */ static function check() { $is_installed = get_option('bpfb_plugin', false); if (!$is_installed) { return BpfbInstaller::install(); } if (!BpfbInstaller::check_paths()) { return BpfbInstaller::install(); } return true; }