Last active
May 27, 2019 09:56
-
-
Save eri-trabiccolo/35eb5c0d8e2fdb49e5186ff794767aa7 to your computer and use it in GitHub Desktop.
Remove unwanted slashes added to the access plan description
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Do not copy this line | |
// Copy from under this line and paste into your child theme's functions.php | |
$unslash_iterarions = 2; //at least 2 times | |
for ( $i = 1; $i <= $unslash_iterarions; $i++ ) { | |
add_filter( 'llms_access_before_save_plan', 'wp_unslash', $i ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment