| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
Plugin Name: Email Post Changes |
| 5 |
Description: Whenever a change to a post or page is made, those changes are emailed to the users and email addresses you specify. |
| 6 |
Plugin URI: http://wordpress.org/extend/plugins/email-post-changes/ |
| 7 |
Version: 1.3-beta |
| 8 |
Author: Michael D Adams |
| 9 |
Author URI: http://blogwaffe.com/ |
| 10 |
*/ |
| 11 |
|
| 12 |
require_once 'class.email-post-changes.php'; |
| 13 |
|
| 14 |
function email_post_changes_action_links( $links ) { |
| 15 |
array_unshift( $links, '<a href="options-general.php?page=' . Email_Post_Changes::ADMIN_PAGE . '">' . __( 'Settings' ) . "</a>" ); |
| 16 |
return $links; |
| 17 |
} |
| 18 |
|
| 19 |
add_action( 'init', array( 'Email_Post_Changes', 'init' ) ); |
| 20 |
|
| 21 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'email_post_changes_action_links' ); |
| 22 |
|