src/classes/un/installer/base.php 1 location
|
@@ 1634-1642 (lines=9) @@
|
1631 |
|
} |
1632 |
|
|
1633 |
|
// Loop through each of the other options provided by this list table. |
1634 |
|
foreach ( $args['options'] as $option ) { |
1635 |
|
|
1636 |
|
// Each user gets to set the options to their liking. |
1637 |
|
$meta_keys[] = "{$parent}_page_{$screen_id}_{$option}"; |
1638 |
|
|
1639 |
|
if ( 'network' === $this->context ) { |
1640 |
|
$meta_keys[] = "{$network_parent}_page_{$screen_id}_network_{$option}"; |
1641 |
|
} |
1642 |
|
} |
1643 |
|
|
1644 |
|
foreach ( $meta_keys as $meta_key ) { |
1645 |
|
$this->uninstall_metadata( 'user', $meta_key ); |
src/classes/uninstaller/factory/admin/screens/with/list/tables.php 1 location
|
@@ 133-141 (lines=9) @@
|
130 |
|
} |
131 |
|
|
132 |
|
// Loop through each of the other options provided by this list table. |
133 |
|
foreach ( $args['options'] as $option ) { |
134 |
|
|
135 |
|
// Each user gets to set the options to their liking. |
136 |
|
if ( 'network' === $context ) { |
137 |
|
$meta_keys[] = "{$parent}_page_{$screen_id}_network_{$option}"; |
138 |
|
} else { |
139 |
|
$meta_keys[] = "{$parent}_page_{$screen_id}_{$option}"; |
140 |
|
} |
141 |
|
} |
142 |
|
} |
143 |
|
|
144 |
|
return array( new WordPoints_Uninstaller_Metadata( 'user', $meta_keys ) ); |
src/classes/uninstaller/factory/admin/screens/with/meta/boxes.php 1 location
|
@@ 116-125 (lines=10) @@
|
113 |
|
$args['options'] = array_merge( $options, $args['options'] ); |
114 |
|
|
115 |
|
// Each user gets to set the options to their liking. |
116 |
|
foreach ( $args['options'] as $option ) { |
117 |
|
|
118 |
|
$meta_key = "{$option}_{$args['parent']}_page_{$screen_id}"; |
119 |
|
|
120 |
|
if ( 'network' === $context ) { |
121 |
|
$meta_key .= '-network'; |
122 |
|
} |
123 |
|
|
124 |
|
$meta_keys[] = $meta_key; |
125 |
|
} |
126 |
|
} |
127 |
|
|
128 |
|
return array( new WordPoints_Uninstaller_Metadata( 'user', $meta_keys ) ); |