preview->is_preview_mode() && ! defined( 'REST_REQUEST' ) ); } return static::$is_frontend; } }