Glossary Term
wp_embed_register_handler()
3 tags
1 category
wp_embed_register_handler() — Registers an embed handler. Should probably only be used for sites that do not support oEmbed.
Inputs: $id (string): An internal ID/name for the handler. Needs to be unique. $regex (string): The regex that will be used to see if this handler should be used for a URL. $callback (callable): The callback function that will be called if the regex is matched. $priority (int): Optional. Used to specify the order in which the registered handlers will be tested. Default 10.
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…
