Answers for "Uncaught ReferenceError: commonL10n is not defined"

PHP
0

Uncaught ReferenceError: commonL10n is not defined

add_action( 'admin_footer', function () {
	?>
	<script>
		if ( typeof commonL10n === 'undefined' ) {
			var commonL10n = { dismiss : 'Dismiss' };
		}
	</script>
	<?php
}, 100 );
Posted by: Guest on October-01-2020

Code answers related to "Uncaught ReferenceError: commonL10n is not defined"

Browse Popular Code Answers by Language