Issues (203)

complete-google-seo-scan.php (3 issues)

1
<?php
2
/**
3
 Plugin Name: Complete Google SEO Scan
4
 Plugin URI: http://nirjharlo.com/
5
 Description: Find issues, check status and get fixes for Seo of individual pages and whole website.
6
 Version: 3.5
7
 Author: Nirjhar Lo
8
 Author URI: http://nirjharlo.com/
9
 Text Domain: cgss
10
 Domain Path: /assets/ln
11
 License: GPLv3
12
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
 */
14
if (!defined('ABSPATH')) exit;
15
16
17
//Define basic names
18
//Edit the "CGSS" in following namespaces for compatibility with your desired name.
19
defined('CGSS_DEBUG') or define('CGSS_DEBUG', false);
20
21
defined('CGSS_PATH') or define('CGSS_PATH', plugin_dir_path(__FILE__));
0 ignored issues
show
The function plugin_dir_path was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

21
defined('CGSS_PATH') or define('CGSS_PATH', /** @scrutinizer ignore-call */ plugin_dir_path(__FILE__));
Loading history...
22
defined('CGSS_FILE') or define('CGSS_FILE', plugin_basename(__FILE__));
0 ignored issues
show
The function plugin_basename was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

22
defined('CGSS_FILE') or define('CGSS_FILE', /** @scrutinizer ignore-call */ plugin_basename(__FILE__));
Loading history...
23
24
defined('CGSS_EXECUTE') or define('CGSS_EXECUTE', plugin_dir_path(__FILE__).'src/');
25
defined('CGSS_HELPER') or define('CGSS_HELPER', plugin_dir_path(__FILE__).'helper/');
26
defined('CGSS_TRANSLATE') or define('CGSS_TRANSLATE', plugin_basename( plugin_dir_path(__FILE__).'asset/ln/'));
27
28
//change /wp-plugin-framework/ with your /plugin-name/
29
defined('CGSS_JS') or define('CGSS_JS', plugins_url().'/complete-google-seo-scan/asset/js/');
0 ignored issues
show
The function plugins_url was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

29
defined('CGSS_JS') or define('CGSS_JS', /** @scrutinizer ignore-call */ plugins_url().'/complete-google-seo-scan/asset/js/');
Loading history...
30
defined('CGSS_CSS') or define('CGSS_CSS', plugins_url().'/complete-google-seo-scan/asset/css/');
31
defined('CGSS_IMAGE') or define('CGSS_IMAGE', plugins_url().'/complete-google-seo-scan/asset/img/');
32
33
34
35
require __DIR__ . '/vendor/autoload.php';
36
37
/**
38
 * The Plugin
39
 */
40
function cgss_build() {
41
	if ( class_exists( 'NirjharLo\\Cgss\\Loader' ) ) {
42
		return NirjharLo\Cgss\Loader::instance();
43
	}
44
}
45
46
global $cgss_build;
47
$cgss_build = cgss_build(); ?>
48