' . esc_html__( 'Upgrade to Pro', 'kk-star-ratings' ) . '', 'manage_options', 'https://feedbackwp.com/pricing/?utm_source=liteplugin&utm_medium=menu-link&utm_campaign=kk-menu-upsell' ]; }, 99 ); $basename = plugin_basename(__FILE__); $prefix = is_network_admin() ? 'network_admin_' : ''; add_filter("{$prefix}plugin_action_links_$basename", function($actions, $plugin_file, $plugin_data, $context) { $custom_actions['kksr_upgrade'] = sprintf( '%s', 'https://feedbackwp.com/pricing/?utm_source=wp_dashboard&utm_medium=upgrade&utm_campaign=kk-action_link', __('Go Premium', 'kk-star-ratings') ); // add the links to the front of the actions list return array_merge($custom_actions, $actions); }, 10, 4); add_action('admin_notices', function () { if(isset($_GET['page']) && $_GET['page'] == 'kk-star-ratings' && class_exists('\Rate_My_Post_CPT')) { ?>

', '', '', '' ); ?>

set_basename(true, __FILE__); } else { if (! function_exists('kksr_freemius')) { require_once __DIR__.'/freemius.php'; } require_once __DIR__.'/src/index.php'; require_once __DIR__.'/src/core/index.php'; // Let everyone know that the plugin is loaded. action('init', kksr()); }