Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Fix JKIT issue with Polylang Flags
- *
- * @param array $allowed_protocols Allowed Protocols.
- *
- * @return array
- */
- function jkit_fix_pll_flag_issues( $allowed_protocols ) {
- $allowed_protocols = array_merge( $allowed_protocols, array( 'data' ) );
- return $allowed_protocols;
- }
- add_filter( 'kses_allowed_protocols', 'jkit_fix_pll_flag_issues' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement