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


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

Filters the contents of the shortcode after Helpful has been loaded. This is useful if you want to display content according to Helpful, or if you want to manipulate the content of Helpful afterwards.

 * @param string $shortcode
 * @param int $post_id
 * @return string
add_filter( 'helpful_the_shortcode', function( $shortcode, $post_id ) {
	return $shortcode;
}, 10, 2 );

Was this post helpful?