Add status to approved/denied users
-
Hi
Please help me to edit the code where can I add <pending> (go to pending) a user in the user list / in the actions of wordpress usersfor example this is the approve button function :
if ( $approve ) { $approve_link = get_option( 'siteurl' ) . '/wp-admin/users.php?page=' . $this->_admin_page . '&user=' . $user->ID . '&status=approve'; if ( isset( $_REQUEST['tab'] ) ) $approve_link = add_query_arg( array( 'tab' => esc_attr( $_REQUEST['tab'] ) ), $approve_link ); $approve_link = wp_nonce_url( $approve_link, 'pw_new_user_approve_action_' . get_class( $this ) ); }
tnx
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add status to approved/denied users’ is closed to new replies.