Cannot get_title() for user ID.
-
You may already be aware of this, but there does not seem to be a way (that I’ve found) to get the title for a user ID, like you can for a post ID or term ID. For example:
$tsf = the_seo_framework(); $args = array( 'id' => {post or term ID} 'taxonomy' => {term taxonomy} 'pta' => {post type for post type archive} ); $title = $tsf->get_title( $args, $escape = false, $social = true );Is there an additional argument to get the title for a user ID that I’m not aware of?
Thanks,
js.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Cannot get_title() for user ID.’ is closed to new replies.