get_term_by()
Warning: string vs integer confusion! Field values, including term_id are returned in string format. Before further use, typecast numeric values to actual integers, otherwise WordPress will mix up term_ids and slugs which happen to have only numeric characters!
Updates from February, 2017 Toggle Comment Threads | Keyboard Shortcuts
-
yalamber
Reply