hey guys, im new to plugins. just wanna know how to use variables from other php files ex: i have variable $example on test1.php and i want to use the same variable on test2.php
Use public properties. Example: PHP: class One { public static $variable = "Hello, world!";}class Two { public function printHelloWorld() { echo One::$variable; }}