AI助手支持GPT4.0
This plugin to show announce for per user roles.
This plugin to show announce for per user roles. p>
And, if you want to change plugin capability, please refer to this code.
And, if you want to change plugin capability, please refer to this code. p>
For example add filter:
For example add filter: p>
function afd_custom_change_capability( $capability ) { function afd_custom_change_capability ($ capability) { // plugin minimum capability // plugin minimum capability $capability = 'edit_posts'; $ capability = 'edit_posts'; return $capability;return $ capability;}}add_filter( 'afd_capability_manager' , 'afd_custom_change_capability' );add_filter ('afd_capability_manager', 'afd_custom_change_capability'); code> pre>And, if you want to add filter, please refer to this code. And, if you want to add filter, please refer to this code. p>For example add filter: For example add filter: p>function afd_custom_filter( $announces ) { function afd_custom_filter ($ announces) { // filter // filter return $announces;return $ announces;}}add_filter( 'afd_before_announce' , 'afd_custom_filter' );add_filter ('afd_before_announce', 'afd_custom_filter'); code> pre>日本語でのご説明 Explanation in Japanese h3>このプラグインは、ダッシュボードにお知らせを表示するプラグインです。 This plugin is a plugin that displays notifications on the dashboard. ユーザーの権限グループ別に、編集者のみへの表示、Visibility to editors only, by user's permission group, 投稿者と寄稿者と購読者のみに表示する設定もできます。You can choose to show it only to contributors, contributors and subscribers. p>
function afd_custom_change_capability ($ capability) { // plugin minimum capability // plugin minimum capability $capability = 'edit_posts'; $ capability = 'edit_posts'; return $capability;return $ capability;}}add_filter( 'afd_capability_manager' , 'afd_custom_change_capability' );add_filter ('afd_capability_manager', 'afd_custom_change_capability');
// plugin minimum capability
$capability = 'edit_posts';
$ capability = 'edit_posts';
return $capability;
return $ capability;
}
add_filter( 'afd_capability_manager' , 'afd_custom_change_capability' );
add_filter ('afd_capability_manager', 'afd_custom_change_capability');
code> pre>
And, if you want to add filter, please refer to this code.
And, if you want to add filter, please refer to this code. p>
function afd_custom_filter( $announces ) { function afd_custom_filter ($ announces) { // filter // filter return $announces;return $ announces;}}add_filter( 'afd_before_announce' , 'afd_custom_filter' );add_filter ('afd_before_announce', 'afd_custom_filter'); code> pre>日本語でのご説明 Explanation in Japanese h3>このプラグインは、ダッシュボードにお知らせを表示するプラグインです。 This plugin is a plugin that displays notifications on the dashboard. ユーザーの権限グループ別に、編集者のみへの表示、Visibility to editors only, by user's permission group, 投稿者と寄稿者と購読者のみに表示する設定もできます。You can choose to show it only to contributors, contributors and subscribers. p>
function afd_custom_filter ($ announces) { // filter // filter return $announces;return $ announces;}}add_filter( 'afd_before_announce' , 'afd_custom_filter' );add_filter ('afd_before_announce', 'afd_custom_filter');
// filter
return $announces;
return $ announces;
add_filter( 'afd_before_announce' , 'afd_custom_filter' );
add_filter ('afd_before_announce', 'afd_custom_filter');
このプラグインは、ダッシュボードにお知らせを表示するプラグインです。
This plugin is a plugin that displays notifications on the dashboard.
ユーザーの権限グループ別に、編集者のみへの表示、
Visibility to editors only, by user's permission group,
投稿者と寄稿者と購読者のみに表示する設定もできます。
You can choose to show it only to contributors, contributors and subscribers.
p>
/wp-content/plugins/
/ wp-content / plugins / code>目录。 li>Activate the plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活插件。 li>Go to WP-Admin -> Settings -> Announcement settings for Dashboard to configure the plugin.转到 WP-Admin->设置->仪表板的公告设置 code>来配置插件。 li>
WP-Admin -> Settings -> Announcement settings for Dashboard
WP-Admin->设置->仪表板的公告设置 code>来配置插件。 li>
ol>
原文出处:http://www.sanshu.cn/a/2424.html
群主管理都是支付大佬