Skip to content

add_mapping()

The add_mapping() method on the WPLK_Domain object lets you programmatically add a URL mapping to a domain. Use it to associate a destination such as a page, post, term archive, or post type archive with a specific path on a mapped domain.

Description: Add a new mapping.

Was this helpful?