PUM_Abstract_Registry::_reset_items()
Only intended for use by tests.
Contents
Description Description
Source Source
File: classes/Abstract/Registry.php
public function _reset_items() { if ( ! defined( 'WP_TESTS_DOMAIN' ) ) { _doing_it_wrong( 'PUM_Abstract_Registry::_reset_items', 'This method is only intended for use in phpunit tests', '1.7.0' ); } else { $this->items = array(); } }
Expand full source code Collapse full source code View on Trac