shortcodes_service_interface
Interface for Shortcode Filters.
Defines the contract for processing text containing [middag] shortcodes.
Table of Contents
Methods
- filter() : string
- Applies filtering to the given text by invoking registered middag shortcodes.
Methods
filter()
Applies filtering to the given text by invoking registered middag shortcodes.
public
static filter(string $text[, array<string|int, mixed> $options = [] ]) : string
Note: Implementations must ensure high performance as this runs on text rendering.
Parameters
- $text : string
-
the input text to be processed
- $options : array<string|int, mixed> = []
-
additional options that may influence processing behavior
Tags
Return values
string —the processed text after applying registered shortcodes