get_site_screen_help_sidebar_content

函式
get_site_screen_help_sidebar_content ( No parameters )
返回值
  • (string) Help sidebar content.
定義位置
相關方法
get_site_screen_help_tab_argsget_url_in_contentget_theme_starter_contentget_the_contentget_site_transient
引入
4.9.0
棄用
-

get_site_screen_help_sidebar_content: 這個函式檢索顯示在網站管理螢幕上螢幕選項標籤的側邊欄中的內容。它不接受任何引數,並以字串形式返回內容。

返回編輯網站螢幕上的幫助側邊欄的內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function get_site_screen_help_sidebar_content() {
return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>';
}
function get_site_screen_help_sidebar_content() { return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'; }
function get_site_screen_help_sidebar_content() {
	return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
		'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
		'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>';
}

常見問題

FAQs
檢視更多 >