Astra_Menu::update_plugin_suggestions_tab_link()
Update plugin suggestions tab link.
Description
Return
(void)
Source
File: admin/includes/class-astra-menu.php
public function update_plugin_suggestions_tab_link() { // phpcs:disable WordPress.Security.NonceVerification.Recommended if ( ! isset( $_GET['tab'] ) || 'astra-woo' !== $_GET['tab'] ) { return; } // phpcs:enable WordPress.Security.NonceVerification.Recommended $extensions_url = add_query_arg( array( 'page' => self::$plugin_slug, 'path' => 'woocommerce', 'ref' => 'plugins', ), admin_url( 'admin.php' ) ); wp_safe_redirect( $extensions_url ); exit; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.7.3 | Introduced. |