Conditional Logic on CF7 dropdown options

I was looking for an option that we can hide the specific option inside the dropdown. But I was able to accomplish this using Conditional Fields plugin. But if anyone knows a way to do this within dropdown options please answer. Thanks! [select translate-from “Translate From” “French” “English” “Hindi” “Spanish”] [group group-584][select translate-to1 “Translate To” … Read more

Get custom text if in Category

in_category takes 2 parameters, the first being the categories to check, and the second being the post ID. If we look at the official documentation on wordpress.org we can see these are the parameters that this function can accept: in_category( int|string|int[]|string[] $category, int|object $post = null ) Taken from: https://developer.wordpress.org/reference/functions/in_category/ We can also see in … Read more