Filter: wu_contains_element
允許開發人員修改初始搜尋的結果。
這對於第三方建構工具等場景非常有用。
參數
| Name | Type | Description |
|---|---|---|
| $contains_elements | bool | 判斷元素是否包含在內容中。 |
| $content | string | 正在檢查的內容。 |
| $element | self | 當前的元素。 |
| $post | null|\WP_Post | 要檢查的文章。 |
Since
- 2.0.0
Source
定義於 inc/ui/class-base-element.php 第 534 行