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

Glossary Term

shortcode_atts()

3 tags 1 category

shortcode_atts() — Combines user attributes with known attributes and fill in defaults when needed. The pairs should be considered to be all of the attributes which are supported by the caller and given as a list. The returned attributes will only contain the attributes in the $pairs list. If the $atts list has unsupported attributes, then they will be ignored and removed from the final returned list.

Inputs: $pairs (array): Entire list of supported attributes and their defaults. $atts (array): User defined attributes in shortcode tag. $shortcode (string): Optional. The name of the shortcode, provided for context to enable filtering

Returns array: Combined and filtered attribute list.

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…