Is the only way to add taxonomy terms via an admin panel?

Is it possible to register taxonomy terms programmatically from a plugin? I would like to add a custom taxonomy ‘geographical area’ and also prepopulate the taxonomy with a list of areas in the UK. public function sample_taxonomy() { // create a new taxonomy register_taxonomy( ‘resellers’, ‘wps-reseller’, array( ‘label’ => __( ‘Geographical Areas’ ), ‘rewrite’ => … Read more

Why haven’t I see plugins using get_file_data to handle retrieving plugin version?

In terms of best practices, I’m curious as to why I haven’t seen anyone using get_file_data or get_plugin_data to handle getting a plugin version (for versioning CSS/JS files). Many quality plugins do version their files, but they hard code the version number, which strikes me as prone to being missed at release time. Obviously these … Read more

How can I interact with a third party service that sends POST requests to me in response to the order information that I send them?

I’m developing a payment gateway for WordPress. I should send the data to a third party and get the confirmation code (and other info) from them. The problem is that they don’t return this confirmation code as a direct response to my POST request. Instead, they process it, and send a POST request to a … Read more

how do I find out if a placed order was deleted or trashed? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 3 years ago. Improve this question I am looking for a order number #2099 in woo-commerce, the order does not show and it’s missing (skipped from #2098 … Read more

How to create a nameplate extension? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I am looking Nameplate extension like https://www.soufeel.com/necklaces/design-your-name-necklace Where can I get the extension or how … Read more

Activate plugin button do nothing [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 2 years ago. Improve this question I’ve wrote a WordPress plugin, it works well offline on my local website, but not when I put it in production … Read more

How to dispaly post informations (such as titles) in an admin plugin menu page?

I’m trying to develop a WP plugin to show post(or page) related information (such as show all post title in a list) in an admin menu page. I tried to use “The Loop”, but it seems like “The Loop” cannot be accessed in Dashboard. I have achieved my goal by using $wpdb to query database … Read more