WP_Paused_Extensions_Storage::get_option_name() protected WP 5.2.0
Get the option name for storing paused extensions.
{} It's a method of the class: WP_Paused_Extensions_Storage{}
No Hooks.
Return
String
. Null. Nothing.
Usage
// protected - for code of main (parent) or child class $result = $this->get_option_name();
Changelog
Since 5.2.0 | Introduced. |
Code of WP_Paused_Extensions_Storage::get_option_name() WP Paused Extensions Storage::get option name WP 5.7
protected function get_option_name() {
if ( ! wp_recovery_mode()->is_active() ) {
return '';
}
$session_id = wp_recovery_mode()->get_session_id();
if ( empty( $session_id ) ) {
return '';
}
return "{$session_id}_paused_extensions";
}