You are here

function shortcode_tips_all in Shortcode 6

Same name and namespace in other branches
  1. 7 shortcode.module \shortcode_tips_all()

Build a list of all shortcodes (for filter). Calls the shortcode hook with the tips parameter on all module From filter.module

1 call to shortcode_tips_all()
shortcode_filter_tips in ./shortcode.module
Implementation of hook_filter_tips().

File

./shortcode.module, line 39

Code

function shortcode_tips_all($format, $long = FALSE) {

  // calls the shortcode hook with the tips parameter on all module
  $tips = '';
  foreach (module_list() as $module) {
    $tips .= module_invoke($module, 'shortcodes', 'tips', $format, $long);
  }
  return $tips;
}