onetone_allowedposttags_filter

The Onetone onetone allowedposttags filter function.

Description

onetone_allowedposttags_filter( $allowedposttags ); 

Parameters (1)

0. $allowedposttags
The allowedposttags.

Usage

  1. if ( !function_exists( 'onetone_allowedposttags_filter' ) ) { 
  2. require_once '/includes/theme-functions.php'; 
  3.  
  4. // The allowedposttags. 
  5. $allowedposttags = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = onetone_allowedposttags_filter($allowedposttags); 
  9.  

Defined (1)

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

/includes/theme-functions.php  
  1. function onetone_allowedposttags_filter( $allowedposttags ) { 
  2.  
  3. $allowedposttags['i'] = array ( 'class' => 1, 'style' => 1); 
  4. $allowedposttags['input'] = array ( 'class' => 1, 'id'=> 1, 'style' => 1, 'name'=>1, 'type' => 1, 'value' => 1 , 'placeholder'=> 1, 'size'=> 1, 'tabindex'=> 1, 'aria-required'=> 1); 
  5. $allowedposttags['iframe'] = array( 
  6. 'align' => true,  
  7. 'width' => true,  
  8. 'height' => true,  
  9. 'frameborder' => true,  
  10. 'name' => true,  
  11. 'src' => true,  
  12. 'id' => true,  
  13. 'class' => true,  
  14. 'style' => true,  
  15. 'scrolling' => true,  
  16. 'marginwidth' => true,  
  17. 'marginheight' => true,  
  18.  
  19. ); 
  20. return $allowedposttags; 
  21.