Improve docblock comments WC_Widget classes

* Added better comment to `widget`, `form` and `update` methods.
This commit is contained in:
Fredrik Forsmo 2016-01-06 19:58:38 +01:00
parent 870ecfea11
commit bc9019458c
11 changed files with 14 additions and 14 deletions

View File

@ -42,7 +42,7 @@ class WC_Widget_Cart extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -35,7 +35,7 @@ class WC_Widget_Layered_Nav_Filters extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -28,7 +28,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
} }
/** /**
* update function. * Updates a particular instance of a widget.
* *
* @see WP_Widget->update * @see WP_Widget->update
* *
@ -44,7 +44,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
} }
/** /**
* form function. * Outputs the settings update form.
* *
* @see WP_Widget->form * @see WP_Widget->form
* *
@ -105,7 +105,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *
@ -380,7 +380,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
} // End display type conditional } // End display type conditional
$this->widget_end( $args ); $this->widget_end( $args );
if ( ! $found ) { if ( ! $found ) {
ob_end_clean(); ob_end_clean();
} else { } else {

View File

@ -37,7 +37,7 @@ class WC_Widget_Price_Filter extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -83,7 +83,7 @@ class WC_Widget_Product_Categories extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -35,7 +35,7 @@ class WC_Widget_Product_Search extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -35,7 +35,7 @@ class WC_Widget_Product_Tag_Cloud extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -154,7 +154,7 @@ class WC_Widget_Products extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -43,7 +43,7 @@ class WC_Widget_Recent_Reviews extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -43,7 +43,7 @@ class WC_Widget_Recently_Viewed extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *

View File

@ -45,7 +45,7 @@ class WC_Widget_Top_Rated_Products extends WC_Widget {
} }
/** /**
* widget function. * Output widget.
* *
* @see WP_Widget * @see WP_Widget
* *