Created
December 17, 2013 12:20
-
-
Save janisdonis/8004088 to your computer and use it in GitHub Desktop.
php class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Affiliates_Contact() { | |
$this->__construct(); | |
} | |
/** | |
* Creates a contact widget. | |
*/ | |
function __construct() { | |
parent::__construct( false, $name = 'Affiliates Contact' ); | |
add_action( 'wp_print_styles', array( 'Affiliates_Contact', '_print_styles' ) ); | |
add_action( 'wp_enqueue_scripts', array( 'Affiliates_Contact', '_enqueue_scripts' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment