Total hooks: 39Undocumented hooks: 17
Type: action
Run custom initialization code for the UI module.
Arguments: $this
Type: filter
No description
Arguments: $this->page_urls->remote_site . 'wp-login.php?redirect_to=' . rawurlencode($plugin_url) . '#signup', $project_id
Use this action to register custom sub-menu items.
<p>The action is called before each of the default submenu items is registered, so other plugins can hook into any position they like by checking the action parameter.</p>
Arguments: $this, 'plugins'
Arguments: 'support'
Arguments: 'tools'
Arguments: 'settings'
Arguments: 'end'
Custom hook to display own notifications inside Dashboard.
Arguments: none
Output some content before the template is loaded, or modify the variables passed to the template.
Arguments: $data
Output code or do stuff after the template was loaded.
Registers a Hub api action and callback for it
Arguments: array()
$action -
$action
$callback - callableThe name of the function you wish to be called.
$callback
callable
Filter output SUI whitelabel-ing
Arguments: $output
Run custom initialization code for the Site module.
Arguments: 'The Upfront parent theme is missing!Please install it to use your Upfront child themes', 'Install Upfront'
Arguments: $message, $cta
Filter Plugin Pages Map to be whitelabel-ed
<p>This should return array, with <code>key</code> WP_Screen.base, and <code>value</code> is array with <code>callable</code>, it's queue, first registered, first executed</p> <p>Callable function should accept array as parameter, Within this array there will be <code>page_base</code>, <code>settings</code>.</p> <p>Callable is executed within <code>admin_head-$hook_suffix</code> with <code>999</code> as priority, which expected to be last-executed</p> <p>If callable are multiple then it works as queue, First registered, First executed, means <code>$callabels[0]</code> will called first</p> <p>If need to attach into another hook example <code>admin_print_footer_scripts</code> then attach it inside its callable function</p> <p>Using this filter encouraged, to avoid race condition, in case plugin hooks is loaded first before Dash plugin initiated, which will be needed as <code>WPMUDEV_Dashboard::$site->get_whitelabel_settings();</code> must be initiated</p>
Arguments: $plugin_pages
$plugin_pages - array
$plugin_pages
array
Arguments: array('dashboard', 'dashboard-network')
Run custom initialization code for the API module.
Arguments: $secure, $user_id
Arguments: $res
Collect extra data from individual plugins.
Arguments: $extra
$extra - stringDefault extra data is an empty string.
$extra
string
Arguments: $extra, $pid
Allows modification of the plugin data that is sent to the server.
Arguments: $projects
$projects - arrayThe whole array of project details.
$projects
Allows excluding certain projects from update notifications.
<p>Basically just check the ID and return true if you want to silence updates.</p> <p>Filter result is only used if the remote-project <code>autoupdate</code> attribute does not have value 2.</p>
Arguments: false, $pid
$flag - boolDefaults to false, return true to silence.
$flag
bool
$pid - intThe WDP ID of the plugin/theme
$pid
int
Run custom initialization code for the Notice module.
Arguments: true, $msg
Arguments: 'info', $msg
Arguments: array(119)
Custom code can be executed after Dashboard is initialized with the default settings.