文件操作 - class-help.php
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/termozerba--com/wp-content/plugins/backwpup/inc/class-help.php
编辑文件内容
<?php class BackWPup_Help { public static function help() { if ( method_exists( get_current_screen(), 'add_help_tab' ) ) { get_current_screen()->add_help_tab( array( 'id' => 'plugininfo', 'title' => __( 'Plugin Info', 'backwpup' ), 'content' => '<p> '.str_replace( '\"','"', sprintf( _x( '%1$s version %2$s. A project by <a href="http://inpsyde.com">Inpsyde GmbH</a>.','Plugin name and link; Plugin Version','backwpup' ), '<a href="' . esc_attr__( 'http://backwpup.com', 'backwpup' ) . '">' . BackWPup::get_plugin_data( 'Name' ) . '</a>' , BackWPup::get_plugin_data( 'Version' ) ) ) . '</p>' . '<p>' . esc_html__( 'BackWPup comes with ABSOLUTELY NO WARRANTY. This is a free software, and you are welcome to redistribute it under certain conditions.', 'backwpup' ) . '</p>' ) ); $text_help_sidebar = '<p><strong>' . __( 'For more information:', 'backwpup' ) . '</strong></p>'; $text_help_sidebar .= '<p><a href="' . esc_attr__( 'http://backwpup.com', 'backwpup' ) . '">' . BackWPup::get_plugin_data( 'Name' ) . '</a></p>'; $text_help_sidebar .= '<p><a href="http://wordpress.org/extend/plugins/backwpup/">' . esc_html__( 'Plugin on wordpress.org', 'backwpup' ) . '</a></p>'; $text_help_sidebar .= '<p><a href="' . esc_attr__( 'http://docs.backwpup.com', 'backwpup' ) . '">' . esc_html__( 'Manual', 'backwpup' ) . '</a></p>'; get_current_screen()->set_help_sidebar( $text_help_sidebar ); } } /** * @static * * @param array $tab */ public static function add_tab( $tab = array() ) { if ( method_exists( get_current_screen(), 'add_help_tab' ) ) get_current_screen()->add_help_tab( $tab ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件