266 | | wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?></li> |
| 266 | // Set the arguments for querying users to assign deleted content to. |
| 267 | $delete_user_args = array( |
| 268 | 'name' => 'reassign_user', |
| 269 | 'exclude' => array_diff( $userids, array( $current_user->ID ) ) |
| 270 | ); |
| 271 | // Filter the arguments before passing into the query. |
| 272 | $delete_args = apply_filters( 'dropdown_delete_users_args', $delete_user_args ); |
| 273 | // Run the query with our arguments. |
| 274 | wp_dropdown_users( $delete_user_args ); ?></li> |