@@ -247,6 +247,19 @@ public function enqueue_styles_admin() {
247
247
wp_enqueue_style ( $ this ->plugin_name . '-metabox ' , FEEDZY_ABSURL . 'css/metabox-settings.css ' , array ( $ this ->plugin_name . '-settings ' ), $ this ->version );
248
248
}
249
249
250
+ /**
251
+ * Add action links on plugin listing screen.
252
+ *
253
+ * @param array $actions Actions array.
254
+ * @param string $plugin_file Plugin file.
255
+ *
256
+ * @return mixed
257
+ */
258
+ public function plugin_actions ( $ actions , $ plugin_file ) {
259
+ $ actions ['settings ' ] = '<a href=" ' . admin_url ( 'admin.php?page=feedzy-settings ' ) . '"> ' . __ ( 'Settings ' , 'feedzy-rss-feeds ' ) . '</a> ' ;
260
+
261
+ return $ actions ;
262
+ }
250
263
/**
251
264
* Register the JavaScript for the admin area.
252
265
*
@@ -561,7 +574,7 @@ public function feedzy_filter_plugin_row_meta( $links, $file ) {
561
574
$ new_links ['doc ' ] = '<a href="https://docs.themeisle.com/article/658-feedzy-rss-feeds" target="_blank" title=" ' . __ ( 'Documentation and examples ' , 'feedzy-rss-feeds ' ) . '"> ' . __ ( 'Documentation and examples ' , 'feedzy-rss-feeds ' ) . '</a> ' ;
562
575
563
576
if ( ! feedzy_is_pro () ) {
564
- $ new_links ['more_features ' ] = '<a href=" ' . esc_url ( tsdk_translate_link ( tsdk_utmify ( FEEDZY_UPSELL_LINK , 'rowmeta ' , 'plugins ' ), 'query ' ) ) . '" target="_blank" title=" ' . __ ( 'More Features ' , 'feedzy-rss-feeds ' ) . '"> ' . __ ( 'Upgrade to Pro ' , 'feedzy-rss-feeds ' ) . '<i style="width: 17px; height: 17px; margin-left: 4px; color: #ffca54; font-size: 17px; vertical-align: -3px;" class="dashicons dashicons-unlock more-features-icon"></i></a> ' ;
577
+ $ new_links ['more_features ' ] = '<a style="color: #009E29; font-weight: 700;" onmouseout="this.style.color= \' #009528 \' ;" onmouseover="this.style.color= \' #008a20 \' ;" href=" ' . esc_url ( tsdk_translate_link ( tsdk_utmify ( FEEDZY_UPSELL_LINK , 'rowmeta ' , 'plugins ' ), 'query ' ) ) . '" target="_blank" title=" ' . __ ( 'More Features ' , 'feedzy-rss-feeds ' ) . '"> ' . __ ( 'Upgrade to Pro ' , 'feedzy-rss-feeds ' ) . '<i style="width: 17px; height: 17px; margin-left: 4px; color: #ffca54; font-size: 17px; vertical-align: -3px;" class="dashicons dashicons-unlock more-features-icon"></i></a> ' ;
565
578
} elseif ( false === apply_filters ( 'feedzy_is_license_of_type ' , false , 'agency ' ) ) {
566
579
$ new_links ['more_features ' ] = '<a href=" ' . esc_url ( tsdk_translate_link ( tsdk_utmify ( FEEDZY_UPSELL_LINK , 'rowmetamore ' , 'plugins ' ), 'query ' ) ) . '" target="_blank" title=" ' . __ ( 'More Features ' , 'feedzy-rss-feeds ' ) . '"> ' . __ ( 'Upgrade your license ' , 'feedzy-rss-feeds ' ) . '<i style="width: 17px; height: 17px; margin-left: 4px; color: #ffca54; font-size: 17px; vertical-align: -3px;" class="dashicons dashicons-unlock more-features-icon"></i></a> ' ;
567
580
}
0 commit comments