Questions tagged [wordpress-admin]

This tag is intended to be used for questions regarding the WordPress admin interface / WordPress backend (i.e. creating meta boxes, additional admin pages, handling admin pages and so on).

107 questions
6
votes
2 answers

How to export custom post type details with it's postmeta and images

I have a custom post type on two websites and I have to export all posts in that post type and import to the second site. So my post type is "products". Actually, I can use Wordpress default import export but the problem is that it is not including…
5
votes
1 answer

Woocommerce admin_notices does not work when woocommerce_order_status_changed hook fires

I'm new to WordPress development and I'm currently encountering a dead-end. I want an admin notice to be displayed in a WooCommerce order after the order's status has been changed. With the following code, the notice doesn't appear:
Chloé
  • 324
  • 3
  • 12
5
votes
1 answer

Global Variables in a WordPress Plugin

I am trying to create my first WordPress plugin. Even in trying to create the install function, things are being a pain. I want to set some global variables specific to my plugin rather than putting the literal values throughout the various…
Marshmellow1328
  • 1,205
  • 3
  • 18
  • 27
4
votes
1 answer

Inserting Javascript into admin footer wordpress

I need to add Livechat widget on all WordPress admin pages (backend). The Livechat JavaScript code is this: