odes/bs-push-notification.png', "category" => publisher_white_label_get_option( 'publisher' ), ) ); } // page_builder_settings } /** * Push Notification Widget Class * * @since 5.0.0 */ class Publisher_Push_Notification_Widget extends BF_Widget { /** * Register widget with WordPress. */ function __construct() { parent::__construct( 'bs-push-notification', sprintf( __( '%s - Push Notification', 'publisher' ), publisher_white_label_get_option( 'publisher' ) ), array( 'description' => __( 'OneSignal push notification widget.', 'publisher' ) ) ); } /** * Adds backend fields */ function load_fields() { $this->fields = array( array( 'name' => __( 'Title', 'publisher' ), 'id' => 'title', 'type' => 'text', ), array( 'name' => __( 'Notification Style', 'publisher' ), 'desc' => __( 'Select push notification box style.', 'publisher' ), 'id' => 'style', 'type' => 'select_popup', 'deferred-options' => array( 'callback' => 'publisher_cb_widget_notification_styles_list', 'args' => array( false ), ), 'column_class' => 'two-column', ) ); } } 12 janvier 2023 - JusteInfos- Information générale

Browsing daily archive

janvier 12, 2023