Modifying Author Link to add Author Meta in URL
I don’t know the context, but i got your use case working like this: Add new permastruct and make sure to regenerate permalinks (Settings > Permalinks > Save) /** * Add additional permalink * * @uses https://codex.wordpress.org/Plugin_API/Action_Reference/init */ function wpte_add_permastruct(){ add_permastruct( ‘%author_trip_vendor%’, ‘operator/%author%’, [ ‘ep_mask’ => EP_AUTHORS, ]); } add_action( ‘init’, ‘wpte_add_permastruct’ ); Added this … Read more