WP_Paused_Extensions_Storage::get_option_name()

Get the option name for storing paused extensions.


Description Description


Return Return

(string)


Top ↑

Source Source

File: wp-includes/class-wp-paused-extensions-storage.php

	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";
	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.