-
-
Notifications
You must be signed in to change notification settings - Fork 28
Filter Hooks
Frank Bültge edited this page Sep 3, 2015
·
9 revisions
Below you can find all currently available, not deprecated filter hooks
defined in multisite-enhancements.php
-
multisite_enhancements_autoload
- Filter to reduce the files there load automatically on init of the plugin
@type array
defined in inc/autoload/class-add-admin-favicon.php`
-
multisite_enhancements_sites_limit
- Filter hook to change the value for get sites inside the network.
@type integer
-
multisite_enhancements_favicon
- List of hooks, there add the markup of the favicon
@type array
-
multisite_enhancements_add_favicon
- Change style of the favicon, the string include the css.
- @type string
-
multisite_enhancements_add_admin_bar_favicon
- Change style of the favicon to each site in the Admin Bar menu, the string include the css.
- @type string
-
multisite_enhancements_remove_wp_admin_bar
- Remove or not remove the first part in the admin bar.
- @type bool
-
multisite_enhancements_favicon_path
- Filter the file path to the favicon file.
@type string
- Optional parameters:
- When using a different directory than the stylesheet use the
$blog_id
and$path_type
@type integer $blog_id
@type string $path_type = 'url' -> use URL for the location as a URL
@type string $path_type = 'dir' -> use URL for the location in the server, used to check if the file exists
- When using a different directory than the stylesheet use the
Other WordPress Multisite Solution in my network:
- MultilingualPress The right way to build a multilingual WordPress site!