| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | |
| 15 | 15 | public static function init() { |
| 16 | 16 | $self = new self(); |
| 17 | 17 | $self->theme = wp_get_theme()->get( 'TextDomain' ); // or use get_stylesheet() |
| 18 | - add_action( 'wp', [ $self, 'dispatch_hooks' ], 99 ); | |
| 18 | + add_action( 'wp', [ $self, 'dispatch_hooks' ] ); | |
| 19 | 19 | } |
| 20 | 20 | public function dispatch_hooks() { |
| 21 | 21 | switch ( strtolower( $this->theme ) ) { |
| 22 | 22 | case 'astra': |