Skip to content

Commit

Permalink
Code Coverage: Ignore Admin_Settings::add_settings_field_callback().
Browse files Browse the repository at this point in the history
This should be tested with E2E tests instead.
  • Loading branch information
costdev committed Dec 19, 2024
1 parent d350e05 commit 294ae22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/class-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ public function register_settings() {
/**
* The Fields API which any CMS should have in its core but something we dont, hence this ugly hack.
*
* @codeCoverageIgnore Test with E2E tests instead.
*
* @param array $args The Field Parameters.
*
* @return void Echos the Field HTML.
Expand Down

0 comments on commit 294ae22

Please sign in to comment.