| @@ 220-224 (lines=5) @@ | ||
| 217 | * @throws \EE_Error | |
| 218 | */ | |
| 219 | 	public function set_details( $details = '' ) { | |
| 220 | 		if ( is_array( $details ) ) { | |
| 221 | array_walk_recursive( $details, array( $this, '_strip_all_tags_within_array' ) ); | |
| 222 | 		} else { | |
| 223 | $details = wp_strip_all_tags( $details ); | |
| 224 | } | |
| 225 | $this->set( 'PAY_details', $details ); | |
| 226 | } | |
| 227 | ||
| @@ 741-745 (lines=5) @@ | ||
| 738 | 		if ( is_object( $item ) ) { | |
| 739 | $item = (array)$item; | |
| 740 | } | |
| 741 | 		if ( is_array( $item ) ) { | |
| 742 | array_walk_recursive( $item, array( $this, '_strip_all_tags_within_array' ) ); | |
| 743 | 		} else { | |
| 744 | $item = wp_strip_all_tags( $item ); | |
| 745 | } | |
| 746 | } | |
| 747 | ||
| 748 | ||