AnsPress_Hooks::safe_style_css( array $attr )
Description #
Allowed CSS attributes for post_content
Parameters #
- $attrarray (Required) Allowed CSS attributes.
Source #
File: includes/hooks.php
public static function safe_style_css( $attr ) { global $ap_kses_check; // Check if wp_kses is called by AnsPress. if ( isset( $ap_kses_check ) && $ap_kses_check ) { $attr = array( 'text-decoration', 'text-align' ); } return $attr; }
Expand full source code Collapse full source code View on GitHub: includes/hooks.php:610
Add your comment