$instance $instance : mixed Public static variable to hold the single instance of the class. Type mixed — Default null
instance() instance() : mixed Method instance() Create a public static instance. Returns mixed — Class instance.
__construct() __construct() MainWP_Child_Vulnerability_Checker constructor. Run any time class is called.
vulner_recheck() vulner_recheck() : array Check for vulnerabilities. Returns array — Return an array $information[] containing $results[] array.
check_plugins() check_plugins(boolean $force = false, boolean $service = '') : array Check for plugin vulnerabilities. Parameters boolean $force Whether or not to force check. Default: false. boolean $service Selected service. Returns array — Return $result array.
check_wp() check_wp(boolean $force = false, boolean $service = '') : boolean|string|null Check for WP vulnerabilities. Parameters boolean $force Whether or not to force check. Default: false. boolean $service Selected service. Returns boolean|string|null
check_themes() check_themes(boolean $force = false, boolean $service = '') : array Check if themes have vunerabilities. Parameters boolean $force Whether or not to force check. Default: false. boolean $service Selected service. Returns array — Return $result array.
get_vuln_nvd_nist_info() get_vuln_nvd_nist_info(mixed $data, string $slug, string $version) : boolean|string|null Check if content is vulnerable. Parameters mixed $data data of check. string $slug slug. string $version Current version. Returns boolean|string|null
vulnche_get_content() vulnche_get_content(string $url, string $service = '') : boolean|string|null Check if content is vulnerable. Parameters string $url URL to check. string $service service to check. Returns boolean|string|null
get_random_user_agent() get_random_user_agent() : string Get random useragent. Returns string — User agent string.