CFDBShortcodeCount

The Contact Form DB CFDBShortcodeCount class.

Defined (1)

The class is defined in the following location(s).

/CFDBShortcodeCount.php  
  1. class CFDBShortcodeCount extends CFDBShortcodeValue { 
  2.  
  3. public function handleShortcode($atts, $content = null) { 
  4. $atts = $this->decodeAttributes($atts); 
  5. $atts['content'] = $content; 
  6. $atts['function'] = 'count'; 
  7. unset($atts['show']); 
  8. unset($atts['hide']); 
  9. return parent::handleShortcode($atts, $content);