WordPress开发者和主题制作者的搜索引擎



screen_layout ›

Since2.8.0
已弃用3.3.0
screen_layout ( $screen )
查看:
  • WP_Screen::render_screen_layout()
定义在:
文档:

Returns the screen layout options.



源码

function screen_layout( $screen ) {
	_deprecated_function( __FUNCTION__, '3.3.0', '$current_screen->render_screen_layout()' );

	$current_screen = get_current_screen();

	if ( ! $current_screen )
		return '';

	ob_start();
	$current_screen->render_screen_layout();
	return ob_get_clean();
}