Skip to content

Commit

Permalink
settings_fields updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasashi committed Jul 25, 2023
1 parent a40a81a commit febd6ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-wordpress-plugin-template-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ public function add_settings_link( $links, $file ) {
*/
private function settings_fields() {

$settings = array();

/*
$settings['standard'] = array(
'title' => __( 'Standard', 'wordpress-plugin-template' ),
Expand Down Expand Up @@ -304,9 +306,7 @@ private function settings_fields() {
);
*/

$settings = apply_filters( $this->parent->_token . '_settings_fields', $settings );

return $settings;
return apply_filters( $this->parent->_token . '_settings_fields', $settings );
}

/**
Expand Down

0 comments on commit febd6ba

Please sign in to comment.