set_title( __( 'Enable secure checkout', 'woocommerce-payments' ) ); $note->set_content( __( 'Enable HTTPS on your checkout pages to display all available payment methods and protect your customers data.', 'woocommerce-payments' ) ); $note->set_content_data( (object) [] ); $note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL ); $note->set_name( self::NOTE_NAME ); $note->set_source( 'woocommerce-payments' ); $note->add_action( self::NOTE_NAME, __( 'Read more', 'woocommerce-payments' ), self::NOTE_DOCUMENTATION_URL, 'unactioned', true ); return $note; } }