add_shortcode( ... )

Adds a new shortcode.

Parameters:
  • $tag string
  • $callback callable