Core Class
View Source on Trac ↗
Core Class
WP_Interactivity_API_Directives_Processor
class WP_Interactivity_API_Directives_Processor
// Constructor: function Object() { [native code] } Class used to iterate over the tags of an HTML string and help process the
Methods 8 methods
| Method / Return | Description |
|---|---|
| get_content_between_balanced_template_tags() (string | Returns the content between two balanced template tags. |
| set_content_between_balanced_tags() bool | Sets the content between two balanced tags.
Parameters: $new_content: string |
| append_content_after_template_tag_closer() bool | Appends content after the closing tag of a template tag.
Parameters: $new_content: string |
| get_after_opener_tag_and_before_closer_tag_positions() (array | Gets the positions right after the opener tag and right before the closer
Parameters: $rewind: bool |
| get_balanced_tag_bookmarks() (array | Returns a pair of bookmarks for the current opener tag and the matching |
| skip_to_tag_closer() bool | Skips processing the content between tags. |
| next_balanced_tag_closer_tag() bool | Finds the matching closing tag for an opening tag. |
| has_and_visits_its_closer_tag() bool | Checks whether the current tag has and will visit its matching closer tag. |
Class Information
Since Version
6.5.0
Source File
wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php
Advertisement