Skip to content

Commit

Permalink
- inline documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
Cais committed Mar 22, 2014
1 parent 5e0c237 commit cbe4702
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions wpfa-sample-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,12 @@ function WPFA_Sample_Widget() {
add_shortcode( 'wpfa_sample', array( $this, 'wpfa_sample_shortcode' ) );

/** Add Plugin Row Meta */
add_filter( 'plugin_row_meta', array( $this, 'add_plugin_row_meta' ), 10, 2 );
add_filter(
'plugin_row_meta', array(
$this,
'add_plugin_row_meta'
), 10, 2
);

/** Hook registered widget to the widgets_init action. */
add_action( 'widgets_init', array( $this, 'load_wpfa_sample_widget' ) );
Expand Down Expand Up @@ -425,6 +430,8 @@ function wpfa_sample_shortcode( $atts ) {
* @param $links
* @param $file
*
* @uses plugin_basename
*
* @return array|null
*/
function add_plugin_row_meta( $links, $file ) {
Expand Down Expand Up @@ -452,9 +459,11 @@ function add_plugin_row_meta( $links, $file ) {
* the new elements were added at the same time.
*/

} /** End if - plugin file name matched passed value */
}
/** End if - plugin file name matched passed value */

/** Return the `$link` array for use in the `plugin_row_meta hook` */

return $links;

} /** End function - add plugin row meta */
Expand Down

0 comments on commit cbe4702

Please sign in to comment.