WpWodify\Settings::add_section
Adds a section to the settings instance.
Signature
public function add_section(mixed
$callback )
Parameters
$callback
— mixed- The callback for the section.
Returns
- Settings
- Returns $this, for object-chaining.
Test Coverage
Information
- Coverage: 5/5 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — WpWodify\SettingsTest::test_add_section with data set #0