What characters are allowed as a shortcode tag and how should they be sanitized?
I am working on a plugin where the user can define shortcode tags himself. What would you suggest to allow in there? My thought is only allow ascii characters.
I am working on a plugin where the user can define shortcode tags himself. What would you suggest to allow in there? My thought is only allow ascii characters.
This is proving to be a challenge.
probably a weird question.
I’m using the custom MetaBox and CustomFields Class by jaredatch on Github.
I have a custom post type that I’m just using just to keep data in but I sometimes share it with others, and I don’t want any confusion when the “view” link appears in the admin column.
Is there an easy way to include an upload box to your settings page?
WordPress has wp_enqueue_script() but not a wp_dequeue_script() function, so what would be the best way to dequeue a script? I’m using LAB.js to load all of my scripts rather than enqueueing them server side, so I don’t want plugins running around adding jQuery 10 times when I’m already loading it.
What’s the earliest possible action I can hook into where I’ll be able to access the global $post/$posts variables on both the front and back ends? I’ve tried looking through the Codex reference, Adam Brown’s reference and skimming through the source several times but haven’t had much luck finding a good one.
I am trying to learn WP Theme development. And as I have understod all “wp core” functions should be placed inside functions.php. But what about custom functions?
I am able to successfully use wp.hooks.applyFilters() and wp.hooks.addFilter(), but I’m not able to render a React Component using wp.hooks.addAction(). However, the console.log() runs just fine within the callback for an action. This is my code:
The posts in the website I’m currently working on have multiple hierarchical categories applied to each of them. For instance: