aw2_call_func

This shortcode is used to call and execute various PHP and WordPress functions. aw2_call_func is very useful when you need call a WordPress function that is not directly supported by Awesome Studio platform. You can also apply common formatting options to the output of the function.

Attributes:
  • main:
    full name of the function you want to call

  • p1:
    series of parameters in the sequence p1, p2, p3.. etc that you want to pass to function called

  • set_param:

    If set_param value is set for aw2_call_func then output of the shortcode will be saved as that paramter.

Examples:

aw2_call_func is used this way