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
<?php | |
# License: Public Domain | |
# I recommend replacing 'my_' with your own prefix. | |
function my_template_path() { | |
return My_Wrapping::$main_template; | |
} |
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
<?php | |
/** | |
* Adds a form field to the edit profile page. | |
* | |
* Usage: | |
add_action( 'init', 'init_profile_addons' ); | |
function init_profile_addons() | |
{ | |
$GLOBALS['extended_author_text'] = new TTT_User_Profile_Addon( | |
array ( |
NewerOlder