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


Help: If you do not know how to execute or save your own PHP code, you can find help here: How to execute PHP code on your WordPress website

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?