Skip to content

Instantly share code, notes, and snippets.


Ribhararnus Pracutian oknoorap

Block or report user

Report or block oknoorap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oknoorap / admin-redirect.php
Created Sep 7, 2016 — forked from kharissulistiyo/admin-redirect.php
Admin Page Redirection After WordPress Theme Activated
View admin-redirect.php
* WordPress snippet
* Admin page redirection
* Put this inside theme setup function
global $pagenow;
if ( is_admin() && 'themes.php' == $pagenow && isset( $_GET['activated'] ) ) {
You can’t perform that action at this time.