rest_pattern_directory_collection_params

過濾鉤子
apply_filters( 'rest_pattern_directory_collection_params', $query_params )

rest_pattern_directory_collection_params: 這個過濾器允許開發者修改REST API的模式目錄收集端點的預設引數。

區樣板塊目錄控制器的過濾器集合引數。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters( 'rest_pattern_directory_collection_params', $query_params );
return apply_filters( 'rest_pattern_directory_collection_params', $query_params );
return apply_filters( 'rest_pattern_directory_collection_params', $query_params );

常見問題

FAQs
檢視更多 >