Reset filter, renamed is_options_page() function, changed option_page to option_group

This commit is contained in:
Justin Foell
2022-09-30 13:47:48 -05:00
parent 38a6a59ff2
commit 46a67d18ec
3 changed files with 29 additions and 30 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<h2><?php esc_html_e( 'Strava Settings', 'wp-strava' ); ?></h2>
<form method="post" action="<?php echo esc_attr( admin_url( 'options.php' ) ); ?>">
<?php settings_fields( $this->option_page ); ?>
<?php settings_fields( $this->option_group ); ?>
<?php do_settings_sections( 'wp-strava' ); ?>
<p class="submit">