You appear to be a bot. Output may be restricted
Description
Usage
Tests_Option_Registration::test_register_with_default_override();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/option/registration.php
Lines:
1 to 14 of 14
public function test_register_with_default_override() { register_setting( 'test_group', 'test_default', array( 'default' => 'Got that Viper with them rally stripes', ) ); // This set of tests/references (and a previous version) are in support of Viper007Bond. // His Viper doesn't have rally stripes, but for the sake of the Big Tymers, we'll go with it. $this->assertSame( 'We the #1 Stunnas', get_option( 'test_default', 'We the #1 Stunnas' ) ); }