/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
//call add_filter or add_action inside a class
//example
class IP_Ban {
function IP_Ban()
{
$this->__construct();
} // function
function __construct()
{
new IP_Ban_Options;
} // function
function admin_init()
{
# perform your code here
} // function
function init()
{
# perform your code here
} // function
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                