Programmatically add term contains Hashtag (#)
-
Hello there,
Im struggling with a stuff in my wordpress development.
I have to add term name => C# but I also have term name => C
When Im checking :
term_exists( 'C#' , 'pa_languages' );
it return me the ID of ‘C’ term.So I can’t add C# :/
I don”t how to fix that. I don’t care if the slug of create term can’t contain hashtag but I have to create C# term name.
Im sure I can do that because WordPress do it without problem.Any help ? ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Programmatically add term contains Hashtag (#)’ is closed to new replies.