-
-
Save hellofromtonya/d8926d94a29bdbc6d9d8cb89343f0e9d to your computer and use it in GitHub Desktop.
sprintf Code Challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function filter_the_entry_footer_post_meta( $html, $taxonomy ) { | |
$html .= sprintf( ' [post_terms taxonomy="%s" before="%s"]', | |
$taxonomy, | |
__( 'Department: ', 'teambios' ) | |
); | |
return $html; | |
} | |
$entry_content = filter_the_entry_footer_post_meta( '[post_categories]', 'department' ); | |
// what is the value of $entry_content? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment