WP_Paused_Extensions_Storage::get_all

Advertisement

Summery Summery

Gets the paused extensions with their errors.

Syntax Syntax

WP_Paused_Extensions_Storage::get_all()

Return Return

(array) Associative array of extension slugs to the error recorded.

Source Source

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

			return array();
		}

		$option_name = $this->get_option_name();

		if ( ! $option_name ) {
			return array();
		}

		$paused_extensions = (array) get_option( $option_name, array() );

		return isset( $paused_extensions[ $this->type ] ) ? $paused_extensions[ $this->type ] : array();
	}

	/**

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.