Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/www/wp-content/themes/dt-the7/inc/extensions/meta-box/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/www/wp-content/themes/dt-the7/inc/extensions/meta-box/js/oembed.js
jQuery( document ).ready( function( $ )
{
	$( '.the7-mb-input' ).on( 'click', 'a.show-embed', function() {
		var $this = $( this ),
			$input = $this.siblings( ':input.the7-mb-oembed' );
			$embed_container = $this.siblings( '.embed-code' ),
			data = {
				action : 'the7_mb_get_embed',
				oembed_url: $input.val(),
				post_id : $( '#post_ID' ).val()
			};
		$embed_container.html( "<img class='the7-mb-loader' height='64' width='64' src='" + RWMB_OEmbed.url + "img/loader.gif'>" );
		$.post( ajaxurl, data, function( r )
		{
			var res = wpAjax.parseAjaxResponse( r, 'ajax-response' );

			if ( res.errors )
				alert( res.responses[0].errors[0].message );
			else
				$embed_container.html( res.responses[0].data );

		}, 'xml' );


		return false;

	});
} );

Spamworldpro Mini