Skip to main content

All Questions

Filter by
Sorted by
Tagged with
6 votes
4 answers
30k views

How do I set up a webhook?

I have a simple script that sends Slack messages, runs reports and does other things. I would like this script to run directly based after users purchase something on my site. I do NOT want to build ...
William Entriken's user avatar
53 votes
7 answers
108k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
tmyie's user avatar
  • 873
6 votes
6 answers
7k views

Add separator to admin submenu

I would like to add a separator to the admin submenu section, NOT in the top level section. I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
Giraldi's user avatar
  • 1,485
0 votes
1 answer
423 views

Usage of custom post types in a custom admin menu

This question is a little hard to explain but i will try to be as clear as i can: I have a custom theme that i am presently working on, within this theme i have added a top level menu in wp-admin ...
MartinJJ's user avatar
  • 1,994