print_scripts_array

過濾鉤子
apply_filters( 'print_scripts_array', $this->to_do )

print_scripts_array 是一個WordPress過濾鉤子,用於過濾排隊列印的指令碼。這個鉤子用來修改排隊列印的指令碼列表,它可以用來增加、刪除或改變列印指令碼的順序。

過濾左邊的指令碼依賴性列表,以便列印。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$this->to_do = apply_filters( 'print_scripts_array', $this->to_do );
$this->to_do = apply_filters( 'print_scripts_array', $this->to_do );
$this->to_do = apply_filters( 'print_scripts_array', $this->to_do );

常見問題

FAQs
檢視更多 >