Get full URL of WP plugin admin page

Question

I’d like to append an admin notice to the edit page of a particular 3rd party plugin to help prevent user error.

The URL is …/wp-admin/admin.php?page=plugin-name&action=edit…

As $pagenow only returns admin.php and the get_current_screen value for action returns “”, how can I identify the full URL to effectively as if page=”xx” and action = “yy”?

Thanks

0
, user8481001 2 years 2019-11-02T08:19:03-05:00 0 Answers 84 views 0

Leave an answer

Browse
Browse