Support » Plugin: New User Approve » 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 users

    for 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

    • This topic was modified 3 months, 3 weeks ago by  mansoorf.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.