Creating an Elementor Plugin: I’ve copied the PHP example code, but how do I enable it?

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com
QUẢNG CÁO: Đổi thẻ cào thành tiền mặt min rút 10k tại đây

I’m not very experienced with PHP, so please bear me. I’ve copied and pasted the example code from the official documentation into my plugin subfolder and – as I expected – the example is not complete. the piece of code is not executed. As far as I know in fact, PHP is not executing a class if I don’t call it explicitly.

I could simply instantiate an object of my widget class, but is that the correct way? Which is the standard way to execute the PHP code that loads an Elementor Widget?

I see there is a module.php file in each widget subfolder containting some code like this:

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com