WP_HTML_Processor::release_bookmark()
Removes a bookmark that is no longer needed.
Releasing a bookmark frees up the small performance overhead it requires.
Метод класса: WP_HTML_Processor{}
Хуков нет.
Возвращает
true|false
. Whether the bookmark already existed before removal.
Использование
$WP_HTML_Processor = new WP_HTML_Processor(); $WP_HTML_Processor->release_bookmark( $bookmark_name ): bool;
- $bookmark_name(строка) (обязательный)
- Name of the bookmark to remove.
Список изменений
С версии 6.4.0 | Введена. |
Код WP_HTML_Processor::release_bookmark() WP HTML Processor::release bookmark WP 6.7.1
public function release_bookmark( $bookmark_name ): bool { return parent::release_bookmark( "_{$bookmark_name}" ); }