A
A
Alexander Belikov2016-04-06 13:54:24
WordPress
Alexander Belikov, 2016-04-06 13:54:24

Wordpress self-written plugin does not skip url /admin.php?page=form_ansokan_edit?id=1?

I am writing my plugin, I want to view the post by id, but WordPress does not let me go to the plugin page with the specified id , I have this example

http://front.end/wp-admin/admin.php?page=form_ansokan_edit?id=1

and how to take the id from the request? via $_GET ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pave1 Zuev, 2016-04-06
@Fraq

Combining in a string of variables through "&"
And yes, via $_GET['page'], $_GET['id']
You can also see the mechanisms in wordpress transfer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question