Linux 软件免费装

WP Log

开发者 vahidd
更新时间 2013年5月8日 03:19
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

wp log

下载

详情介绍:

Wp log is simple plugin to save actions in database. Also actions can be sent to mail. Wp log can record: User Login User Logout User Register User Delete Post Edit Post Delete Theme Switch New Comment Comment Approved Comment Unapproved Plugin Activated Plugin Deactivated There is a useful option panel for plugin that let you to define which actions can be saved in database or send it in email. Function: wl_logs_action_row() Return saved data in database. Return data is an array. <?php echo wl_logs_action_row('action_name','ip_address','127.0.0.1','10','date','ASC'); ?> Parameter 1 is output data that can be: Prameter 2 is filter value parameter 3 is displayed items count Parameter 4 is items order by that can be date, ip_address, id Parameter 5 is order that can be ASC or DESC Samples: Display latest actions from specific ip: <?php echo wl_logs_action_row('action_name','ip_address','YOUR IP ADDRESS','10','date','ASC'); ?> Display every thing of latest actions: <?php echo wl_logs_action_row('*'); ?> Display only name of latest actions: <?php echo wl_logs_action_row('action_name'); ?> Display latest actions ip address: <?php echo wl_logs_action_row('ip_address'); ?>

安装:

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

更新日志:

Version 1.0 First Release