plugins; // phpcs:ignore WordPress.WP.GlobalVariablesOverride $installed_plugins = get_plugins(); $wp_api_plugins = get_site_transient( 'fusion_wordpress_org_plugins' ); $required_and_recommened_plugins = avada_get_required_and_recommened_plugins(); if ( ! function_exists( 'plugins_api' ) ) { include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // For plugins_api. } if ( ! $wp_api_plugins ) { $wp_org_plugins = [ 'pwa' => 'pwa/pwa.php', 'woocommerce' => 'woocommerce/woocommerce.php', 'the-events-calendar' => 'the-events-calendar/the-events-calendar.php', 'wordpress-seo' => 'wordpress-seo/wp-seo.php', 'leadin' => 'leadin/leadin.php', 'bbpress' => 'bbpress/bbpress.php', 'contact-form-7' => 'contact-form-7/wp-contact-form-7', ]; $wp_api_plugins = []; foreach ( $wp_org_plugins as $slug => $path ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride $wp_api_plugins[ $slug ] = (array) plugins_api( 'plugin_information', [ 'slug' => $slug, ] ); } set_site_transient( 'fusion_wordpress_org_plugins', $wp_api_plugins, 15 * MINUTE_IN_SECONDS ); } ?>

product is registered.', 'Avada' ), // phpcs:ignore WordPress.Security.EscapeOutput esc_url( admin_url( 'admin.php?page=avada' ) ) ); ?>

registration->is_registered() ) : ?>

' . esc_attr__( 'Product Registration', 'Avada' ) . '' ); ?>

' . esc_attr__( 'Status', 'Avada' ) . '', '' . esc_attr__( 'Plugin Installation', 'Avada' ) . '', '' . esc_attr__( 'Support Dashboard', 'Avada' ) . '' ); ?>

plugin_link( $plugin_args ); // We have a repo plugin. if ( ! $plugin_args['version'] ) { $plugin_args['version'] = Avada_TGM_Plugin_Activation::$instance->does_plugin_have_update( $plugin_args['slug'] ); } if ( fusion_is_plugin_activated( $file_path ) ) { $plugin_status = 'active'; $class = 'active'; } if ( isset( $plugin_action['update'] ) && $plugin_action['update'] ) { $class .= ' update'; } $required_premium = ''; $box_attributes = [ 'file_path' => isset( $plugin_args['file_path'] ) ? $plugin_args['file_path'] : '', ]; $box_attrs = ''; foreach ( $box_attributes as $key => $val ) { $box_attrs .= ' data-' . esc_attr( $key ) . '="' . esc_attr( $val ) . '"'; } ?>
>
<?php esc_attr( $plugin_args['plugin_name'] ); ?>

%3$s', 'Avada' ), esc_html( $installed_plugins[ $plugin_args['file_path'] ]['Version'] ), esc_url_raw( $installed_plugins[ $plugin_args['file_path'] ]['AuthorURI'] ), esc_html( $installed_plugins[ $plugin_args['file_path'] ]['Author'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput ?> {$plugin_args['Author']}" : false; $author = ( isset( $wp_api_plugins[ $plugin_args['slug'] ] ) && isset( $wp_api_plugins[ $plugin_args['slug'] ]['author'] ) ) ? $wp_api_plugins[ $plugin_args['slug'] ]['author'] : $author; ?>

30, 'user-agent' => 'fusion-builder', ] ); $addons_json = wp_remote_retrieve_body( $response ); set_site_transient( 'avada_addons_json', $addons_json, 300 ); } $addons = json_decode( $addons_json, true ); // Move coming_soon to the end. if ( isset( $addons['415041'] ) ) { $coming_soon = $addons['415041']; unset( $addons['415041'] ); $addons['coming-soon'] = $coming_soon; } $n = 0; $installed_plugins = get_plugins(); ?>
$addon ) : ?> fusion_get_plugin_info( $addon['plugin_name'], $installed_plugins ); $active_class = ''; if ( is_array( $addon_info ) ) { $active_class = ( $addon_info['is_active'] ) ? ' active' : ' installed'; } ?>
<?php esc_attr( $addon['post_title'] ); ?>

{$addon_info['Author']}" : false; if ( $version && $author ) : /* translators: %1$s: Version. %2$s: Author. */ printf( __( 'v%1$s | %2$s', 'Avada' ), $version, $author ); // phpcs:ignore WordPress.Security.EscapeOutput endif; ?>

= $date_difference ) : ?>
get_admin_screens_footer(); ?>