packages/options/src/Manager.php 1 location
|
@@ 155-159 (lines=5) @@
|
152 |
|
} |
153 |
|
|
154 |
|
foreach ( array_intersect( $names, $this->get_option_names( 'non_compact' ) ) as $name ) { |
155 |
|
if ( $this->is_network_option( $name ) ) { |
156 |
|
$result = delete_site_option( "jetpack_$name" ); |
157 |
|
} else { |
158 |
|
$result = delete_option( "jetpack_$name" ); |
159 |
|
} |
160 |
|
} |
161 |
|
|
162 |
|
foreach ( array_keys( $this->grouped_options ) as $group ) { |
class.jetpack-options.php 1 location
|
@@ 332-336 (lines=5) @@
|
329 |
|
} |
330 |
|
|
331 |
|
foreach ( array_intersect( $names, self::get_option_names( 'non_compact' ) ) as $name ) { |
332 |
|
if ( self::is_network_option( $name ) ) { |
333 |
|
$result = delete_site_option( "jetpack_$name" ); |
334 |
|
} else { |
335 |
|
$result = delete_option( "jetpack_$name" ); |
336 |
|
} |
337 |
|
|
338 |
|
} |
339 |
|
|