weblog_standalone_form_category_menu
Hook Added in Version:
1.4.0
Hook File Location:
mod.weblog_standalone.php
Hook Description:
Rewrite the displaying of the category field for Stand Alone Entry form
Hook Parameters
- $cat_group - Category group for form
- $which - new/preview
- $deft_category - Default category for weblog
- $catlist - Current selected categories
Hook Returns Data?
Yes
Appearance of Hook in the Code
if (isset($EXT->extensions['weblog_standalone_form_category_menu']))
{
$edata = $EXT->call_extension('weblog_standalone_form_category_menu', $cat_group, $which, $deft_category, $catlist);
$match['1'] = str_replace(LD.'select_options'.RD, $edata, $match['1']);
$tagdata = str_replace ($match['0'], $match['1'], $tagdata);
if ($EXT->end_script === TRUE) return;
}
