芝麻web文件管理V1.00
编辑当前文件:/home/soundframestudio/smith.soundframestudios.net/wp-content/plugins/siteseo-pro/siteseo-pro.php
pro = get_option('siteseo_pro_options', []); siteseo_pro_load_license(); //check updates sitseopro_check_updates(); // Check for updates include_once(SITESEO_PRO_DIR . 'main/plugin-update-checker.php'); $siteseo_updater = SiteSEO_PucFactory::buildUpdateChecker(siteseo_pro_api_url().'/updates.php?version='.SITESEO_PRO_VERSION, SITESEO_PRO_FILE); // Add the license key to query arguments $siteseo_updater->addQueryArgFilter('siteseo_pro_updater_filter_args'); // Show the text to install the license key add_filter('puc_manual_final_check_link-siteseo-pro', 'siteseo_pro_updater_check_link', 10, 1); if(defined('SITESEO_VERSION')){ SiteSEO_PucFactory::buildUpdateChecker(siteseo_pro_api_url().'/updates.php?type=free&version='.SITESEO_VERSION, SITESEO_FILE); } if(wp_doing_ajax()){ \SiteSEOPro\Ajax::hooks(); return; } add_action('init', '\SiteSEOPro\Admin::local_business_block'); if(is_admin()){ \SiteSEOPro\Admin::init(); return; } // Actions // TODO: Will need to shift these actions to a seperate file as the code grows. add_action('wp_head','\SiteSEOPro\Tags::dublin_core', 2); add_filter('siteseo_titles_noindex_bypass', '\SiteSEOPro\Tags::woocommerce'); add_action('wp_head','\SiteSEOPro\Tags::easy_digital_downloads', 2); add_action('wp_head','\SiteSEOPro\Tags::structured_data'); }