src/Modules/Notification.php
public static function setup_notifications() {
		$notifications       = apply_filters( 'themeisle_sdk_registered_notifications', [] );
		$notifications       = array_filter(
			$notifications,
			function ( $value ) {
				if ( ! isset( $value['id'] ) ) {
					return false;
				}
				if ( get_option( $value['id'], '' ) !== '' ) {
					return false;
				}

				return apply_filters( $value['id'] . '_should_show', true );
			}
		);
		self::$notifications = $notifications;
	}
public static function setup_notifications() {
		$notifications       = apply_filters( 'themeisle_sdk_registered_notifications', [] );
		$notifications       = array_filter(
			$notifications,
			function ( $value ) {
				if ( ! isset( $value['id'] ) ) {
					return false;
				}
				if ( get_option( $value['id'], '' ) !== '' ) {
					return false;
				}

				return apply_filters( $value['id'] . '_should_show', true );
			}
		);
		self::$notifications = $notifications;
	}
public static function setup_notifications ( ) { $ notifications = apply_filters ( 'themeisle_sdk_registered_notifications' , [ ] ) ; $ notifications = array_filter ( $ notifications , function ( $ value ) { if ( ! isset ( $ value [ 'id' ] ) ) { return false ; } if ( get_option ( $ value [ 'id' ] , '' ) !== '' ) { return false ; } return apply_filters ( $ value [ 'id' ] . '_should_show' , true ) ; } ) ; self :: $ notifications = $ notifications ; }
Setup notifications queue.
Setup notifications queue .