Skip to content

Commit

Permalink
Update projects/plugins/jetpack/modules/subscriptions/subscribe-float…
Browse files Browse the repository at this point in the history
…ing-button/class-jetpack-subscribe-floating-button.php

Co-authored-by: Przemek Kuliga <[email protected]>
  • Loading branch information
simison and pkuliga committed Jun 16, 2024
1 parent 6880cf7 commit add0943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function init() {
* Jetpack_Subscribe_Floating_Button class constructor.
*/
public function __construct() {
if ( get_option( 'jetpack_subscribe_floating_button_enabled', true ) ) {
if ( get_option( 'jetpack_subscribe_floating_button_enabled', false ) ) {
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_assets' ) );
add_action( 'wp_footer', array( $this, 'add_subscribe_floating_button_to_frontend' ) );
}
Expand Down

0 comments on commit add0943

Please sign in to comment.