Created
September 24, 2019 18:17
-
-
Save joshfeck/1718182a01e7ed2850a485bf2d2ccbae to your computer and use it in GitHub Desktop.
Remove the invoice icon from the actions column of the my events page. Event Espresso 4 + WP Users add-on
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
add_filter( | |
'FHEE__EES_Espresso_My_Events__actions', | |
'my_remove_invoice_from_column', | |
10, | |
2 | |
); | |
function my_remove_invoice_from_column( | |
$actions, | |
$registration | |
) { | |
unset($actions['invoice']); | |
return $actions; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment