PluginProbe
Polylang / 2.9
Polylang v2.9
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | include/mo.php +11 -0 2.82.9 View file →
@@ -104,5 +104,16 @@
104 104 */
105 105 public function clean_cache() {
106 106 wp_cache_delete( 'polylang_mo_ids' );
107 107 }
108 +
109 + /**
110 + * Deletes a string
111 + *
112 + * @since 2.9
113 + *
114 + * @param string $string The source string to remove from the translations.
115 + */
116 + public function delete_entry( $string ) {
117 + unset( $this->entries[ $string ] );
118 + }
108 119 }