We'll create fresh WordPress site with Announce from the Dashboard installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin to show announce for per user roles.
And, if you want to change plugin capability, please refer to this code.
For example add filter:
function afd_custom_change_capability( $capability ) {
// plugin minimum capability
$capability = 'edit_posts';
return $capability;
}
add_filter( 'afd_capability_manager' , 'afd_custom_change_capability' );
And, if you want to add filter, please refer to this code.
For example add filter:
function afd_custom_filter( $announces ) {
// filter
return $announces;
}
add_filter( 'afd_before_announce' , 'afd_custom_filter' );
このプラグインは、ダッシュボードにお知らせを表示するプラグインです。
ユーザーの権限グループ別に、編集者のみへの表示、
投稿者と寄稿者と購読者のみに表示する設定もできます。