Home Plugin documentation Hooks and functions Filters pip/shortcode/button_group/class



Here we go!



Heads up!

This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.


This filter allows you to change the class added on the shortcode pip_button_group

add_filter( 'pip/shortcode/button_group/class', function ( $class ) {

    // Example: add vertical margin on the button group class
				$class .= ' my-2';
    return $class;

}, 10, 1 );

You didn’t find the answer you were looking for?

or you think a specific topic deserve more informations?


Wave to bottom