Documentation

Didn't find anything? Ask your questions in the forum.
Documentation Filters helpful_options

helpful_options

This allows you to adjust the default values of Helpful. These are always used as default when Helpful is installed. This might be interesting if you want to include Helpful in customer projects and want to define how Helpful is configured.

/**
 * Allows you to set the default after a Helfpful installation.
 * These are used whenever Helpful is freshly installed.
 *
 * @param array $options default options.
 * @return array
 */
function custom_function( $options ) {
	return $options;
}

add_filter( 'helpful_options', 'custom_function' );

Was this post helpful?