Select Page

Attributes for shortcode.

Parameters

  1. attributes – array with shortcode attributes. Array:
    • title – title of shortcode;
    • type – select or radio;
    • currency_text – type of information: text, flag, symbol, image, space. You can use one or more types (examples: “text”, “flag, text”, “flag, space, symbol, space, text”; use comma to separate elements).

Usage

<?php
function change_berocket_ce_shortcode_options ( $attributes ) {
//your code here
    return $attributes;
}

add_filter( 'berocket_ce_shortcode_options', 'change_berocket_ce_shortcode_options' );
?>