Пользовательская часть
Настройка пользовательской части
$this->my_plugin_options = get_option($this->plugin_name); $this->my_plugin_options['footer_text']Добавление функции
/**
* The function of adding text to the footer
*/
public function add_text_footer(){
if( !empty($this->my_plugin_options['footer_text']) )
{
echo '<h3 class="center">'.$this->my_plugin_options['footer_text'].'</h3>';
}
}Регистрации функции
Последнее обновление