-
Notifications
You must be signed in to change notification settings - Fork 0
Filters
The following plugin filters are available to allow you to change the output of the plugin in various places.
Located in wpbasis > functions > admin-display.php
This allows you to change the text that is output on the dashboard welcome tab.
Located in wpbasis > functions > admin-display.php
Allows you to amend the outputted text that appears at the top of the site options page created by the plugin.
Located in wpbasis > functions > admin-display.php
Filtering here provides the option to change the welcome text displayed in the welcome tab of the newly created dashboard.
Located in wpbasis > functions > admin.php
The plugin comes bundled with some basic site options. This filter allows you to add additional options to the site options page in the admin which can be used in other themes and plugins. Below is an example of how you might add an option for a google plus link:
function my_register_site_option_settings( $settings ) {
/* add our new settings to the pxlcore settings array */
$settings[] = 'my_google_plus_url';
/* return the modified array */
return $settings;
}
add_filter( 'wpbasis_register_site_option_settings', 'my_register_site_option_settings' );