GD Simple Widgets
filters
This is the list of filters and actions added by the plugin. You can use them as any standard WordPress filters and actions from other plugins or themes. Parameters, if they are existing, are colored red. What needs to be returned is colored blue. If the return is misisng for the filter.
- gdsw_results_$widget: $results, $instance, $results filter for modifying data array before rendering.
- gdsw_sql_select_$widget: $select, $instance, $select filter for modifying select part of the sql query.
- gdsw_sql_from_$widget: $from, $instance, $select filter for modifying from part of the sql query.
- gdsw_sql_where_$widget: $where, $instance, $select filter for modifying where part of the sql query.
- gdsw_sql_group_$widget: $group, $instance, $select filter for modifying group part of the sql query.
- gdsw_sql_order_$widget: $order, $instance, $select filter for modifying order part of the sql query.
- gdsw_sql_limit_$widget: $limit, $instance, $select filter for modifying limit part of the sql query.
Values for $widget:
- futureposts: for GDSW Future Posts widget
- mostcommented: for GDSW Most Commented widget
- popularposts: for GDSW Popular Posts widget
- postsauthors: for GDSW Posts Authors widget
- randomposts: for GDSW Random Posts widget
- recentcomments: for GDSW Recent Comments widget
- recentposts: for GDSW Recent Posts widget
- relatedposts: for GDSW Related Posts widget
- simple125ads for GDSW Simple 125 Ads widget