Changeset 55563 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 03/19/2023 12:51:14 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r55495 r55563 5338 5338 5339 5339 /** 5340 * Adds a Target attribute to all links in passed content.5340 * Adds a target attribute to all links in passed content. 5341 5341 * 5342 5342 * This function by default only applies to `<a>` tags, however this can be 5343 * modified by the 3rd param.5344 * 5345 * *NOTE:* Any current target attribute dwill be stripped and replaced.5343 * modified by the `$tags` parameter. 5344 * 5345 * *NOTE:* Any current target attribute will be stripped and replaced. 5346 5346 * 5347 5347 * @since 2.7.0 … … 5350 5350 * 5351 5351 * @param string $content String to search for links in. 5352 * @param string $target The Target to add to the links.5352 * @param string $target The target to add to the links. 5353 5353 * @param string[] $tags An array of tags to apply to. 5354 5354 * @return string The processed content.
Note: See TracChangeset
for help on using the changeset viewer.