PluginProbe
Powerkit – Supercharge your WordPress Site / 2.4.6
Powerkit – Supercharge your WordPress Site v2.4.6
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
← All changes | core/core-powerkit-api.php +0 -21 3.1.12.4.6 View file →
@@ -7,13 +7,8 @@
7 7 * @version 1.0.0
8 8 * @since 1.0.0
9 9 */
10 10
11 -// Exit if accessed directly.
12 -if ( ! defined( 'ABSPATH' ) ) {
13 - exit;
14 -}
15 -
16 11 /**
17 12 * This function will return true for a non empty array
18 13 *
19 14 * @param array $array Array.
@@ -120,20 +115,4 @@
120 115 function powerkit_set_data( $name, $value ) {
121 116 return powerkit()->set_data( $name, $value );
122 117 }
123 118
124 -/**
125 - * Retrieves the translation of $text and escapes it for safe use in HTML output.
126 - *
127 - * If there is no translation, or the text domain isn't loaded, the original text
128 - * is escaped and returned.
129 - *
130 - * @since 2.8.0
131 - *
132 - * @param string $text Text to translate.
133 - * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings.
134 - * Default 'default'.
135 - * @return string Translated text.
136 - */
137 -function powerkit_esc_html__( $text, $domain = 'default' ) {
138 - return esc_html( $text );
139 -}