/home/sylamedg/www/wp-content/themes/shopire/inc/admin/assets/js/shopire-admin-script.js
( function( $ ){
     $( document ).ready( function(){
        $( '.shopire-btn-get-started' ).on( 'click', function( e ) {
            e.preventDefault();

            $( this )
                .html( 'Processing.. Please wait' )
                .addClass( 'updating-message' );

            $.post(
                shopire_ajax_object.ajax_url,
                {
                    action: 'install_act_plugin',
                    nonce: shopire_ajax_object.nonce
                },
                function( response ){
                    location.href = 'customize.php?shopire_notice=dismiss-get-started';
                }
            );
        });
    });

    $( document ).on( 'click', '.notice-get-started-class .notice-dismiss', function () {
        // Read the "data-notice" information to track which notice
        // is being dismissed and send it via AJAX
        var type = $( this ).closest( '.notice-get-started-class' ).data( 'notice' );
        // Make an AJAX call
        $.ajax( ajaxurl,
          {
            type: 'POST',
            data: {
              action: 'shopire_dismissed_notice_handler',
              type: type,
            }
          } );
      } );
}( jQuery ) )