| Server IP : 172.67.191.88 / Your IP : 104.23.243.204 Web Server : Microsoft-IIS/7.5 System : Windows NT WIN-HN0MTSF2AF1 6.1 build 7601 (Windows Server 2008 R2 Enterprise Edition Service Pack 1) AMD64 User : IWPD_11(bayt-altogg) ( 0) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/bayt-altoggar.com/httpdocs/wp-content/plugins/add-to-any/ |
Upload File : |
/* Init AddToAny when an AddToAny WordPress Widget is selectively refreshed for customizer preview. */
jQuery( function() {
// Short-circuit selective refresh events if not in customizer preview or pre-4.5.
if ( 'undefined' === typeof wp || ! wp.customize || ! wp.customize.selectiveRefresh ) {
return;
}
function addtoany_init() {
if ( window.a2a ) {
a2a.init_all( 'page' );
}
}
// Init AddToAny when a partial is rendered.
wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function( placement ) {
if ( placement.container ) {
addtoany_init();
}
} );
} );