You appear to be a bot. Output may be restricted
Description
Usage
Tests_Actions_Callbacks::test_callback_representations();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/actions/callbacks.php
Lines:
1 to 12 of 12
public function test_callback_representations() { $tag = __FUNCTION__; $this->assertFalse( has_action( $tag ) ); add_action( $tag, array( 'Class', 'method' ) ); $this->assertSame( 10, has_action( $tag, array( 'Class', 'method' ) ) ); $this->assertSame( 10, has_action( $tag, 'Class::method' ) ); }