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


With this you can extend the shortcode attributes of Helpful. So you can add your own attributes to Helpful’s shortcode or change existing values.

 * Can be used to extend the shortcode atts.
 * @param array $defaults default shortcode atts.
 * @return array
function custom_function( $defaults ) {
	$defaults['color'] = '#89c058';
	return $defaults;

add_filter( 'helpful_shortcode_defaults', 'custom_function' );

Was this post helpful?