Admin url issue
-
If WordPress installed in a folder, then the plugin does not generate properly admin urls.
My WordPress url: https://xyz.com/test/wordpress/
I end up with: https://xyz.com/wp-admin/admin.php?page=surbma-gpga-menu-pricing
You should create WordPress urls properly with:
add_query_arg(array( 'page' => 'surbma-gpga-menu-pricing', ), admin_url('admin.php'))
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Admin url issue’ is closed to new replies.