| 开发者 | yeahns |
|---|---|
| 更新时间 | 2026年11月29日 16:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
edit_post_link() calls, delete them, and
repeat the whole exercise after the next theme update. That is what this plugin does instead.
is_admin_bar_showing() is false for the current front end request, the edit links are
hidden too. That means the plugin follows the user's profile setting, and it also respects
another plugin that hides the toolbar with the show_admin_bar filter.
What is hidden
edit_post_link() and any it
builds by hand from get_edit_post_link().get_edit_term_link() and edit_term_link().admin_url() instead of going through a core helper, it will still be there.
No. WordPress already does that when a user unchecks the setting. This plugin only removes the edit links that other code prints anyway.
You can, until the next theme update replaces your edits. This keeps working across theme changes, and it applies to every theme and plugin that uses the core helpers.
It applies to every logged-in user who has the toolbar hidden, administrators included.
Yes. The decision comes from one filter:
add_filter( 'plusboat_editless_suppress_edit_links', '__return_true' );
Returning false from that filter turns the plugin off completely for the request.
Yes. Block themes get their edit links from the admin bar and from the Comment Edit Link block, and both are covered.
No. No options, no tables, no user meta. Uninstalling leaves nothing behind.