disable plugin for post type without a view page
-
I’m writing a plugin and want to check if a post type has a view page.
I’ve tried using the permalink for the post but the ACF edit page still has a permalink even though it does nothing.
I’ve also tried looking for the existence of the view button in the post list or admin bar but can’t seem to work out how to access the info.
Is there a way to check if $actions[‘view’] exists or has been removed? or is there a better way to handle this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘disable plugin for post type without a view page’ is closed to new replies.