public static function setControls() { $controls = parent::setControls(); $controls["link_blank"] = array("name" => "filter_link_blank", "desc" => __("Open links in new window", "faf"), "type" => "checkbox", "default" => "1"); $controls["link_tracker"] = array("name" => "filter_link_tracker", "desc" => __("Run filter through click tracker (URL of tracker)", "faf"), "type" => "text"); return $controls; }
protected static function setControls() { $controls = parent::setControls(); $controls["filter_value"]["desc"] = __("Keywords:", "faf"); // different description return $controls; }
protected static function setControls() { $controls = parent::setControls(); $controls["image_local"] = array("name" => "filter_image_local", "desc" => __("Save images locally", "faf"), "type" => "checkbox", "default" => "1"); $controls["image_remove_excerpt"] = array("name" => "filter_image_remove_excerpt", "desc" => __("Remove images from excerpt", "faf"), "type" => "checkbox", "default" => "1"); $controls["image_size_box"] = array("name" => "faf_image_resize", "desc" => __("Resize image to", "faf"), "type" => "image_size_box", "default" => "medium"); $controls["image_process_select"] = array("name" => "faf_image_process_select", "desc" => __("Images to process", "faf"), "type" => "text"); $controls["image_remove_unselected"] = array("name" => "faf_image_remove", "desc" => __("Remove unselected images", "faf"), "type" => "checkbox"); $controls["image_set_featured"] = array("name" => "faf_image_featured", "desc" => __("Set featured image", "faf"), "type" => "checkbox"); return $controls; }
public static function setControls() { $controls = parent::setControls(); $controls["filter_value"]["desc"] = __("Keyword", "faf"); $controls["categories"] = array("name" => "faf_filter_categories", "desc" => __("Categories", "faf"), "type" => "categories_box"); return $controls; }
function display() { parent::display(); }
protected static function setControls() { $controls = parent::setControls(); $controls["html_allow_styles"] = array("name" => "filter_allow_styles", "desc" => __("Keep HTML-Styles and Headings"), "type" => "checkbox"); $controls["html_allow_images"] = array("name" => "filter_allow_images", "desc" => __("Keep Images"), "type" => "checkbox"); $controls["html_allow_links"] = array("name" => "filter_allow_links", "desc" => __("Keep Links"), "type" => "checkbox"); $controls["html_allow_custom"] = array("name" => "filter_allow_custom", "desc" => __("Keep custom tags:"), "type" => "text"); return $controls; }