options_discussion_add_js()

 

File: wp-admin/includes/options.php

function options_discussion_add_js() {
	?>
	<script>
	(function($){
		var parent = $( '#show_avatars' ),
			children = $( '.avatar-settings' );
		parent.change(function(){
			children.toggleClass( 'hide-if-js', ! this.checked );
		});
	})(jQuery);
	</script>
	<?php
}

参数:options_discussion_add_js()

{acontent5}{acontent3}

You must log in before being able to contribute a note or feedback.

33.33% (1) 次Google访问
66.67% (2) 次Sogou访问
  • 蜘蛛:Google,1次,更新时间:2019-05-17 09:24:32
  • 蜘蛛:Sogou,2次,更新时间:2019-05-18 13:58:28

参与评论