Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // put the code below in your file functions.php in your theme
- function my_button_status_filter($array)
- {
- //add in the array all the statuses for whom you want the button
- return array('on-hold', 'pending');
- }
- add_filter('wopar_button_status_filter', 'my_button_status_filter');
Advertisement
Add Comment
Please, Sign In to add comment