manage_{$this->screen->id}_custom_column_js_template

動作鉤子
do_action( "manage_{$this->screen->id}_custom_column_js_template", $column_name )

manage_{$this->screen->id}_custom_column_js_template: 這是WordPress中的一個動作鉤子,允許外掛或主題為任何自定義文章型別表中的列新增自定義JavaScript模板。鉤子名稱中的$this->screen->id佔位符被替換成實際的螢幕ID。這個鉤子是在wp-admin/includes/class-wp-list-table.php檔案中觸發的。

在JavaScript行模板中為“應用程式密碼”列表表中的每個自定義列觸發。

使用{@see“manage_application-passwords-user_columns”}篩選器註冊自定義列.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( "manage_{$this->screen->id}_custom_column_js_template", $column_name );
do_action( "manage_{$this->screen->id}_custom_column_js_template", $column_name );
do_action( "manage_{$this->screen->id}_custom_column_js_template", $column_name );

常見問題

FAQs
檢視更多 >