Can I create customizer setting that can handle plugin shortcode?
Can I create a customizer setting which will handle a shortcode from a plugin? Do I violate and rules or guidelines in WordPress … Read more
Can I create a customizer setting which will handle a shortcode from a plugin? Do I violate and rules or guidelines in WordPress … Read more
While writing a custom element for WC Bakery (formerly Visual Composer) I’ve discovered that the HTML tags are being stripped from the textfield … Read more
Here’s my issue. I have a custom post type that I’m attaching a custom taxonomy to. This taxonomy will allow the admin to … Read more
Just wanted to get a straight answer on this: when submitting query_vars to a call to get_posts or WP_Query, is sanitation needed or … Read more
I have been trying to figure out how to escape quotes (single and double) from shortcode attributes. Basically the content is written by … Read more
I’m creating a WordPress theme in which I’ve allowed users to add some custom css from the Theme Options. This css code then … Read more
What is the exact difference between esc_html and wp_filter_nohtml_kses. Everywhere I look says that both strip all the html, the only difference I … Read more
I am asking for advice on best practices on how to write this code. Currently I have simple theme options with text fields, … Read more
So here is the situation. We allow users to enter input data, i.e. user_first_name and user_additional_comments. Then we use sanitize_text_field() , which is … Read more
The WP source shows that wp_filter_kses and wp_filter_post_kses are passed data that’s “expected to be escaped with slashes.” On the other hand, wp_kses_data … Read more