'use strict'; var WPMailSMTP = window.WPMailSMTP || {}; WPMailSMTP.Admin = WPMailSMTP.Admin || {}; /** * WP Mail SMTP Admin area AI MCP module. * * @since 4.9.0 */ WPMailSMTP.Admin.AiMcp = WPMailSMTP.Admin.AiMcp || ( function( document, window, $ ) { /** * Public functions and properties. * * @since 4.9.0 * * @type {object} */ var app = { /** * Start the engine. DOM is not ready yet, use only to init something. * * @since 4.9.0 */ init: function() { $( app.ready ); }, /** * DOM is fully loaded. * * @since 4.9.0 */ ready: function() { app.events(); }, /** * Bind events. * * @since 4.9.0 */ events: function() { $( document ) .on( 'click', '.wp-mail-smtp-ai-mcp-wpvibe-button[data-action="install"]', app.onInstallClick ) .on( 'click', '.wp-mail-smtp-ai-mcp-wpvibe-button[data-action="activate"]', app.onActivateClick ); }, /** * POST to the WP Mail SMTP admin-ajax dispatcher with the nonce attached. * * @since 4.9.0 * * @param {object} extra Task-specific fields merged into the request. * * @returns {object} The jQuery jqXHR promise. */ post: function( extra ) { var data = $.extend( { action: 'wp_mail_smtp_ajax', nonce: window.wp_mail_smtp.nonce, }, extra || {} ); return $.post( window.wp_mail_smtp.ajax_url, data ); }, /** * Install button: install & activate WPVibe, then reload. * * @since 4.9.0 * * @param {object} event The click event. */ onInstallClick: function( event ) { event.preventDefault(); app.runInstallerTask( $( event.currentTarget ), 'about_plugin_install' ); }, /** * Activate button: activate WPVibe, then reload. * * @since 4.9.0 * * @param {object} event The click event. */ onActivateClick: function( event ) { event.preventDefault(); app.runInstallerTask( $( event.currentTarget ), 'about_plugin_activate' ); }, /** * Run an install/activate task, then reload on success or surface an * inline error on failure. A reload lets PHP re-render the next state's * CTA. WP returns logical failures with HTTP 200 + success:false, so a * failed task lands in .done and must be checked explicitly. * * @since 4.9.0 * * @param {object} $button Button element that was clicked. * @param {string} task AJAX task — install or activate. */ runInstallerTask: function( $button, task ) { app.clearError( $button ); app.setLoading( $button ); app.post( { task: task, plugin: $button.data( 'plugin' ) } ) .done( function( response ) { if ( response && response.success ) { window.location.reload(); return; } // Install partially succeeded (installed but activation failed): // the plugin state changed, so reload to render the activate CTA. if ( task === 'about_plugin_install' && response && response.data && response.data.basename ) { window.location.reload(); return; } app.showError( $button ); } ) .fail( function() { app.showError( $button ); } ); }, /** * Show the loading spinner on the button. * * @since 4.9.0 * * @param {object} $button Button element. */ setLoading: function( $button ) { $button .addClass( 'wp-mail-smtp-btn-loading' ) .prop( 'disabled', true ); }, /** * Restore the button to its initial state and show the inline error. * * @since 4.9.0 * * @param {object} $button Button element. */ showError: function( $button ) { $button .removeClass( 'wp-mail-smtp-btn-loading' ) .prop( 'disabled', false ); var $row = $button.closest( '.wp-mail-smtp-ai-mcp-cta-row' ); var $error = $row.siblings( '.wp-mail-smtp-ai-mcp-install-error' ); if ( ! $error.length ) { $error = $( '' ); $row.after( $error ); } $error.text( window.wp_mail_smtp_ai_mcp.error_text ); }, /** * Remove a previously shown inline error before a new attempt. * * @since 4.9.0 * * @param {object} $button Button element. */ clearError: function( $button ) { $button .closest( '.wp-mail-smtp-ai-mcp-cta-row' ) .siblings( '.wp-mail-smtp-ai-mcp-install-error' ) .remove(); }, }; return app; }( document, window, jQuery ) ); WPMailSMTP.Admin.AiMcp.init();

Should you decide to change your preferences later through your browsing session, you can click on the "Manage consent" tab on your screen. This will display the consent notice again enabling you to change your preferences or withdraw your consent entirely.

In addition to this, different browsers provide different methods to block and delete cookies used by websites. You can change the settings of your browser to block/delete the cookies. To find out more about how to manage and delete cookies, visit wikipedia.org, www.allaboutcookies.org.

Contact – Peak Multi Sports | Premium Sports Accessories, Equipment & Apparel in Trivandrum

Contact

Talk To Our Team About Sports & Equipment

Send us a message

We’re here to answer your questions, help you find the right gear, and connect you with the Peak Multi Sports team.
Get in touch

Let’s Connect and Talk All Things Sports.

Shop

SS Covil Road, Housing Board Jn, Thampanoor, TVM

Email Support

sales@peakmultisports.com
info@peakmultisports.com

Let's Talk

Phone :+91 88488 23635
+91 88919 66606

Office Hour

Monday - Sunday
07am - 08pm

Common Questions

Frequently Ask Questions

What products does Peak Multi Sports offer?

We provide a wide range of multi-sports accessories, apparel, shoes, and professional equipment for badminton, cricket, football, basketball, volleyball, swimming, skating, and fitness.

Yes! We’re authorized dealers for leading international brands like Li-Ning, Victor, Flypower, Ashaway, Apacs, Asics, Cosco, Spalding, Nivia, Vector-X, Tynor, and more.

Absolutely. We offer professional racket stringing using the latest tools and techniques to ensure precision and performance.

Yes, we specialize in customized jerseys and sublimation printing for companies and clubs

We’re based in Trivandrum, Kerala, India.

You can also contact us online through our website or email us for inquiries.

Yes, we have a selection of swimming goggles, caps, and accessories for both beginners and professionals.

Why should I choose Peak Multi Sports over other stores?

We bring multiple premium sports brands under one roof, with expert guidance and services like racket stringing and custom printing — all at competitive prices.

Absolutely! We cater to school athletes, club players, and professional sports enthusiasts alike.

Yes, our in-store experts help you find the perfect fit and tension based on your game style.

Definitely! You’re welcome to visit and experience our full range in person before making a purchase.

Yes, every product we sell is 100% original and sourced directly from authorized brand distributors.

We regularly update our collection with the latest models and new arrivals from global brands.

Get exclusive sports tips, updates & product news.

peak logo wt
Peak Multi Sports brings together top-quality products, expert advice, and unmatched service to support every athlete’s journey.
Get in touch
Call Support

+91 88488 23635 +91 88919 66606

Email Support

sales@peakmultisports.com

Copyright © 2026 Peak Multi Sports, All rights reserved. Powered by Cyberbix Technologies