Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function add_new_post_url( $url, $path, $blog_id ) {
- if ( $path == "post-new.php" ) {
- $path = "post-new.php?param=value";
- }
- return $path;
- }
- add_filter( 'admin_url', 'add_new_post_url', 10, 3 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement