Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

links_add_base_url()

3 tags 1 category

links_add_base_url() — Adds a base URL to relative links in passed content. By default, this function supports the ‘src’ and ‘href’ attributes. However, this can be modified via the $attrs parameter.

Inputs: $content (string): String to search for links in. $base (string): The base URL to prefix to links. $attrs (string[]): The attributes which should be processed.

Returns string: The processed content.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…