2016-01-20, 01:09:04
(2016-01-20, 00:43:46)shawn_a Wrote: You can probably just stick a link on the page if logged in and 404.
It can literally be one line of code.
if(blargh)
echo get_site_url(false) . $GSADMIN . '/edit.php?title=' . _id($id);
But does $id work since we redirect to 404 ?
Also you don't call get_component with my plugin....
There is no redirect if default or user 404 page existed. So $id is setted from $_GET array and $url is setted from $data_index object.
In my code I want to set value for page slug not for title, because page was requested by slug. For this I need to call hook in admin header.