array(), // Meaning: all plugins which still have open actions. 'install' => array(), 'update' => array(), 'activate' => array(), ); $texts = array( 'something_went_wrong' => esc_html__( 'Something went wrong. Please refresh the page and try again!', 'aihub' ), ); // Localize the javascript. if ( class_exists( 'TGM_Plugin_Activation' ) ) { // Check first if TMGPA is included. wp_localize_script( 'merlin', 'merlin_params', array( 'tgm_plugin_nonce' => array( 'update' => wp_create_nonce( 'tgmpa-update' ), 'install' => wp_create_nonce( 'tgmpa-install' ), ), 'tgm_bulk_url' => $tgmpa->get_tgmpa_url(), 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'wpnonce' => wp_create_nonce( 'merlin_nonce' ), 'texts' => $texts, ) ); } else { // If TMGPA is not included. wp_localize_script( 'merlin', 'merlin_params', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'wpnonce' => wp_create_nonce( 'merlin_nonce' ), 'texts' => $texts, ) ); } foreach ( $tgmpa->plugins as $slug => $plugin ) { if ( $tgmpa->is_plugin_active( $slug ) && false === $tgmpa->does_plugin_have_update( $slug ) ) { continue; } else { $plugins['all'][ $slug ] = $plugin; if ( ! $tgmpa->is_plugin_installed( $slug ) ) { $plugins['install'][ $slug ] = $plugin; } else { if ( false !== $tgmpa->does_plugin_have_update( $slug ) ) { $plugins['update'][ $slug ] = $plugin; } if ( $tgmpa->can_plugin_activate( $slug ) ) { $plugins['activate'][ $slug ] = $plugin; } } } } $required_plugins = array(); $list_plugins = array( 'aihub-core' ); //$tgmpa->is_plugin_active( 'elementor' ) ? array_push( $list_plugins, 'aihub-core' ) : ''; // Split the plugins into required and recommended. foreach ( $plugins['all'] as $slug => $plugin ) { if ( ! empty( $plugin['required'] ) && in_array( $slug, $list_plugins ) ) { $required_plugins[ $slug ] = $plugin; } } $count = count( $required_plugins ); ?>
One last action is needed to complete the update

Update all plugins to discover the latest features and improvements.

    $plugin ) : ?>
v1.2 Update Notices

Version 1.2 is a major update in which we have made significant improvements and changes to some key options. As a result, certain options may no longer function as expected.

To address this, please reset the following options if you had previously configured them:
→ Container dark options
→ Container sticky options

system_requirements( true ) ) : ?>
System
system_requirements_table(); ?>
Clear your cache after update the theme!

Please make sure to clear your browser and server-side cache after the update is completed. Otherwise your website might look broken to you.

Introducing AIHub

Meet the AIHub

See Landing Page

What's new?

See what's changed in this version

Changelog

Up-to-date

Enjoy your Free updates!