Skip to content

Admin Filters ​

1 unique filter hook currently map to this category, across 1 call site.

Hook Inventory ​

HookEditionCall SitesFirst Source
fluent_community/show_wp_admin_linkCore1fluent-community/app/Hooks/Handlers/PortalHandler.php:167

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Hides the WordPress admin link in the portal sidebar.

Defaults to true and is tested for truthiness. It is read late, while the sidebar renders, and only for a site administrator on a site running Pro — on the free plugin the upgrade link takes that place and this filter never applies. Returning false hides the link only: it does not restrict access to the admin area, and the link WordPress itself adds in the other direction is separate.

Parameters ​

#NameTypeDescription
1$showboolWhether to show the link. True by default.

Return: bool — tested for truthiness.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/PortalHandler.php:167true (bool)

Example ​

php
add_filter('fluent_community/show_wp_admin_link', function ($show) {
    return $show;
}, 10, 1);

FluentCommunity developer documentation