Skip to content
Mark Wilkinson edited this page May 19, 2014 · 1 revision

The following plugin filters are available to allow you to change the output of the plugin in various places.

wpbasis_thanks_heading

Located in wpbasis > functions > admin-display.php

This allows you to change the text that is output on the dashboard welcome tab.

wpbasis_site_option_intro

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.

wpbasis_welcome_text

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.

wpbasis_register_site_option_settings

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' );

Clone this wiki locally