The best thing to do here is to use a static class. The following code should be instructional: class MyClass { function __construct() { add_action( ...
確定! 回上一頁