plugin_name . '_plugin_extension_boxes', array( $this, 'plugin_extension_box' ) ); // Add text on right of Visit the plugin on Plugin manager page add_filter( 'plugin_row_meta', array( $this, 'plugin_extra_links'), 10, 2 ); // Add extra link on left of Deactivate link on Plugin manager page add_action( 'plugin_action_links_'.A3_PORTFOLIO_NAME, array( $this, 'settings_plugin_links' ) ); } } public function load_scripts() { // Add custom style to dashboard wp_enqueue_style( 'a3rev-wp-admin-style', A3_PORTFOLIO_CSS_URL . '/a3_wp_admin.css' ); // Add admin sidebar menu css wp_enqueue_style( 'a3rev-admin-a3-portfolio-sidebar-menu-style', A3_PORTFOLIO_CSS_URL . '/admin_sidebar_menu.css' ); } public function load_addons_page_scripts() { wp_enqueue_style( 'a3-portfolio-addons-style', A3_PORTFOLIO_CSS_URL . '/a3.portfolio.addons.admin.css' ); if ( is_rtl() ) { wp_enqueue_style( 'a3-portfolio-addons-style-rtl', A3_PORTFOLIO_CSS_URL . '/a3.portfolio.addons.admin.rtl.css' ); } } public function plugin_extension_box( $boxes = array() ) { $support_box = ''; $boxes[] = array( 'content' => $support_box, 'css' => 'border: none; padding: 0; background: none;' ); /*$free_wordpress_box = ''; $boxes[] = array( 'content' => $free_wordpress_box, 'css' => 'border: none; padding: 0; background: none;' ); $free_woocommerce_box = ''; $boxes[] = array( 'content' => $free_woocommerce_box, 'css' => 'border: none; padding: 0; background: none;' ); $review_box = '
' . __('Is this plugin is just what you needed? If so', 'a3-portfolio' ) . '
'; $review_box .= ''; $boxes[] = array( 'content' => $review_box, 'css' => 'border: none; padding: 0; background: none;' ); $connect_box = '
' . __('Connect with us via', 'a3-portfolio' ) . '
'; $connect_box .= ' '; $connect_box .= ''; $boxes[] = array( 'content' => $connect_box, 'css' => 'border-color: #3a5795;' );*/ return $boxes; } public function plugin_extra_links($links, $plugin_name) { if ( $plugin_name != A3_PORTFOLIO_NAME ) { return $links; } $links[] = ''.__('Support', 'a3-portfolio' ).''; return $links; } public function settings_plugin_links($actions) { $actions = array_merge( array( 'settings' => '' . __( 'Settings', 'a3-portfolio' ) . '' ), $actions ); return $actions; } } global $a3_portfolio_backend_scripts; $a3_portfolio_backend_scripts = new A3_Portfolio_Backend_Scripts(); ?>