/**
  * Adds custom body classes when viewing widget or donation form.
  *
  * @param 	array 		$classes
  * @return 	array
  * @access  public
  * @since 	1.0.0
  */
 public function add_widget_page_body_class($classes)
 {
     if (charitable_is_campaign_widget_page()) {
         $classes[] = 'campaign-widget';
     }
     return $classes;
 }
 /**
  * @covers charitable_is_campaign_widget_page
  */
 public function test_is_campaign_widget_page()
 {
     $page = charitable_get_campaign_widget_page_permalink(false, array('campaign_id' => self::$campaign_id));
     $this->go_to($page);
     $this->assertTrue(charitable_is_campaign_widget_page(false));
 }