options_permalink_add_js()

 

File: wp-admin/includes/deprecated.php

function options_permalink_add_js() {
	?>
	<script type="text/javascript">
		jQuery(document).ready(function() {
			jQuery('.permalink-structure input:radio').change(function() {
				if ( 'custom' == this.value )
					return;
				jQuery('#permalink_structure').val( this.value );
			});
			jQuery( '#permalink_structure' ).on( 'click input', function() {
				jQuery( '#custom_selection' ).prop( 'checked', true );
			});
		});
	</script>
	<?php
}

参数:options_permalink_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-14 17:39:47
  • 蜘蛛:Sogou,2次,更新时间:2019-05-05 23:29:44

参与评论