v1.0.1
This commit is contained in:
parent
212d64abfa
commit
b8e17df2db
17 changed files with 1145 additions and 732 deletions
|
|
@ -20,7 +20,7 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
function two_factor_extended_uninstall() {
|
||||
function two_factor_extended_uninstall(): void {
|
||||
// Get user preference for data removal.
|
||||
$remove_data = get_option( 'two_factor_extended_remove_data_on_uninstall', false );
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ function two_factor_extended_uninstall() {
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
function two_factor_extended_delete_all_transients() {
|
||||
function two_factor_extended_delete_all_transients(): void {
|
||||
global $wpdb;
|
||||
|
||||
// Get all transient keys using WordPress API wrapper (not direct SQL).
|
||||
|
|
@ -97,7 +97,7 @@ function two_factor_extended_delete_all_transients() {
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
function two_factor_extended_delete_all_site_transients() {
|
||||
function two_factor_extended_delete_all_site_transients(): void {
|
||||
global $wpdb;
|
||||
|
||||
// Get all site transient keys using WordPress API wrapper (not direct SQL).
|
||||
|
|
@ -128,7 +128,7 @@ function two_factor_extended_delete_all_site_transients() {
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
function two_factor_extended_delete_all_user_meta() {
|
||||
function two_factor_extended_delete_all_user_meta(): void {
|
||||
// Get all user IDs (using WordPress API).
|
||||
$user_ids = get_users(
|
||||
array(
|
||||
|
|
|
|||
Loading…
Reference in a new issue