芝麻web文件管理V1.00
编辑当前文件:/home/ezdajrnh/test.ezed.pk/wp-content/plugins/rife-elementor-extensions/includes/admin.php
%2$s', admin_url( 'admin.php?page=' .$this->plugin_page ), __( 'Import templates', 'rife-elementor-extensions' ) ); array_unshift( $links, $import_link ); return $links; } /** * Admin footer text. * * Modifies the "Thank you" text displayed in the admin footer. * * Fired by `admin_footer_text` filter. * * @since 1.0.0 * @access public * * @param string $footer_text The content that will be printed. * * @return string The content that will be printed. */ public function admin_footer_text( $footer_text ) { $current_screen = get_current_screen(); $is_plugin_screen = ( $current_screen && false !== strpos( $current_screen->id, $this->plugin_page ) ); if ( $is_plugin_screen ) { $footer_text = esc_html__( 'Thanks for using Rife Extensions & Templates for Elementor plugin!', 'rife-elementor-extensions' ). '
'.esc_html__( 'Apollo13Themes Team ❤', 'rife-elementor-extensions' ).'
'; } return $footer_text; } /** * Elementor dashboard widget links * * Adds links in Elementor dashboard widget. * * Fired by `elementor/admin/dashboard_overview_widget/footer_actions` filter. * * @since 1.0.0 * @access public * * @param array $additions_actions Elementor dashboard widget footer actions. * * @return array Elementor dashboard widget footer actions. */ public function dashboard_widget_links( $additions_actions ) { $additions_actions['rife-elementor-extensions'] = [ 'title' => __( 'Import templates', 'rife-elementor-extensions' ), 'link' => admin_url( 'admin.php?page=' .$this->plugin_page ), ]; return $additions_actions; } /** * Admin constructor. * * * @since 1.0.0 * @access public */ public function __construct() { add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] ); add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_styles' ] ); add_filter( 'plugin_action_links_' . A13REE_PLUGIN_BASE, [ $this, 'plugin_action_links' ] ); add_filter( 'admin_footer_text', [ $this, 'admin_footer_text' ], 30 ); add_filter( 'elementor/admin/dashboard_overview_widget/footer_actions', [ $this, 'dashboard_widget_links' ] ); } }