You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (is_admin()) { // note the use of is_admin() to double check that this is happening in the admin
19
+
$config = array(
20
+
'slug' => plugin_basename(__FILE__), // this is the slug of your plugin
21
+
'proper_folder_name' => 'wp-security', // this is the name of the folder your plugin lives in
22
+
'api_url' => 'https://api.github.com/repos/Codeko/wp-security', // the GitHub API url of your GitHub repo
23
+
'raw_url' => 'https://raw.github.com/Codeko/wp-security/main', // the GitHub raw url of your GitHub repo
24
+
'github_url' => 'https://github.com/Codeko/wp-security', // the GitHub url of your GitHub repo
25
+
'zip_url' => 'https://github.com/Codeko/wp-security/zipball/main', // the zip url of the GitHub repo
26
+
'sslverify' => true, // whether WP should check the validity of the SSL cert when getting an update, see https://github.com/jkudish/WordPress-GitHub-Plugin-Updater/issues/2 and https://github.com/jkudish/WordPress-GitHub-Plugin-Updater/issues/4 for details
27
+
'requires' => '6.4.1', // which version of WordPress does your plugin require?
28
+
'tested' => '6.4.1', // which version of WordPress is your plugin tested up to?
29
+
'readme' => 'README.md', // which file to use as the readme for the version number
0 commit comments