Skip to content

Commit

Permalink
wp core get_option only has 2 parameters available to it.
Browse files Browse the repository at this point in the history
  • Loading branch information
tw2113 committed Sep 9, 2024
1 parent 534d04e commit a450621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ function constant_contact_get_option( $key = '', $default = null ) {
return cmb2_get_option( constant_contact()->settings->key, $key, $default );
}

$options = get_option( constant_contact()->settings->key, $key, $default );
$options = get_option( $key, $default );
$value = $default;

if ( 'all' === $key ) {
Expand Down

0 comments on commit a450621

Please sign in to comment.