{"id":233089,"date":"2014-08-12T17:11:02","date_gmt":"2014-08-12T13:11:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=233089"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=233089","title":{"rendered":"<span class=\"post_title\">\u041c\u0430\u043b\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 WordPress<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0421\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c \u043b\u0438 \u0441 \u0432\u0430\u043c\u0438, \u0447\u0442\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u043a\u043e\u0434\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0438\u043b\u0438 \u0442\u0435\u043c\u044b, \u0432\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0435 \u0437\u043d\u0430\u043b\u0438? \u0412 \u0442\u0430\u043a\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043b\u044e\u0431\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043e\u0449\u0443\u0449\u0430\u0435\u0442 \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043d\u0438\u0447\u0442\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u044f \u043a\u0430\u043a\u0438\u0435 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434\u044b \u043e\u043d \u0433\u043e\u0440\u043e\u0434\u0438\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445. <\/p>\n<p>  \u0414\u0430\u0431\u044b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0441\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u044f \u0440\u0435\u0448\u0438\u043b \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u043b\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445, \u043d\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439:<\/p>\n<p>  <b><code>make_clickable<\/code><\/b><br \/>  \u041d\u0430\u0445\u043e\u0434\u0438\u0442 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0438\u0445 \u043a\u043b\u0438\u043a\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u043c\u0438.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$string = &quot;This is a long text that contains some links like http:\/\/www.wordpress.org and http:\/\/www.wordpress.com .&quot;; echo make_clickable( $string );  <\/code><\/pre>\n<p>  <b><code>popuplinks<\/code><\/b><br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 <code>target='_blank' rel='external'<\/code> \u0432\u0441\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0430\u043c \u0432 \u0442\u0435\u043a\u0441\u0442\u0435.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$string = &quot;This is a long text that contains some links like &lt;a href='http:\/\/www.wordpress.org'&gt;http:\/\/www.wordpress.org&lt;\/a&gt; and &lt;a href='http:\/\/www.wordpress.com'&gt;http:\/\/www.wordpress.com&lt;\/a&gt; .&quot;; echo popuplinks( $string );  <\/code><\/pre>\n<p>  <b><code>wp_list_pluck<\/code><\/b><br \/>  \u0414\u043e\u0441\u0442\u0430\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u0438\u0437 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$posts = get_posts(); $ids = wp_list_pluck( $posts, 'ID' ); \/\/ [1, 2, 3, ...] <\/code><\/pre>\n<p>  <b><code>antispambot<\/code><\/b><br \/>  \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0430\u0434\u0440\u0435\u0441\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u044b HTML, \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u0441\u043f\u0430\u043c-\u0431\u043e\u0442\u043e\u0432.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$email = 'example@email.com'; echo '&lt;a href=&quot;mailto:' . antispambot( $email ) . '&quot;&gt;' . antispambot( $email ) . '&lt;\/a&gt;'; <\/code><\/pre>\n<p>  <a name=\"habracut\"><\/a><br \/>  <b><code>checked \/ selected<\/code><\/b><br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 checked (selected) \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0440\u0430\u0432\u0435\u043d \u0432\u0442\u043e\u0440\u043e\u043c\u0443.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"html\">&lt;input type=&quot;checkbox&quot; name=&quot;remember&quot; value=&quot;1&quot; &lt;?php checked( $remember ) ?&gt; \/&gt;  &lt;select name=&quot;options&quot;&gt;     &lt;option value=&quot;1&quot; &lt;?php selected( $options, 1 ); ?&gt;&gt;1&lt;\/option&gt;     &lt;option value=&quot;2&quot; &lt;?php selected( $options, 2 ); ?&gt;&gt;2&lt;\/option&gt;     &lt;option value=&quot;3&quot; &lt;?php selected( $options, 3 ); ?&gt;&gt;3&lt;\/option&gt; &lt;\/select&gt; <\/code><\/pre>\n<p>  <b><code>human_time_diff<\/code><\/b><br \/>  \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u043c \u0434\u043b\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0432\u0438\u0434\u0435.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$published = get_the_time( 'U' ); echo human_time_diff( $published ); \/\/ 2 days <\/code><\/pre>\n<p>  <b><code>wp_send_json_success \/ wp_send_json_error<\/code><\/b><br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 JSON \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0434\u043b\u044f Ajax \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">if( $success ) {     $result = array(         'message'\t=&gt; 'Saved',         'ID'\t\t=&gt; 1     );     wp_send_json_success( $result ); \/\/ { &quot;success&quot;: true, &quot;data&quot;: { &quot;message&quot;: &quot;Saved&quot;, &quot;ID&quot;: 1 } } } else {     wp_send_json_error(); \/\/ { &quot;success&quot;: false } } <\/code><\/pre>\n<p>  <b><code>wp_remote_get \/ wp_remote_post<\/code><\/b><br \/>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e web \u0440\u0435\u0441\u0443\u0440\u0441\u0430. <br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$response = wp_remote_get( &quot;https:\/\/api.twitter.com\/1.1\/search\/tweets.json?q=%23WordPress&quot;, array( 'timeout' =&gt; 10 ) ); $tweets = wp_remote_retrieve_body( $response ); <\/code><\/pre>\n<p>  <b><code>wp_is_mobile<\/code><\/b><br \/>  \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">if ( wp_is_mobile() ) {     get_footer( 'mobile' ); } else {     get_footer(); } <\/code><\/pre>\n<p>  <b><code>wp_oembed_get<\/code><\/b><br \/>  \u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043c\u0435\u0434\u0438\u0430 \u0440\u0435\u0441\u0443\u0440\u0441 \u0432 \u043a\u043e\u0434 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044f.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$youtube_url = 'https:\/\/www.youtube.com\/watch?v=Lcvh0DgytH8'; $embed_code = wp_oembed_get( $youtube_url, array( 'width' =&gt; 800 ) ); <\/code><\/pre>\n<p>  <b><code>wp_tempnam<\/code><\/b><br \/>  \u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">wp_tempnam( 'cache.log', get_temp_dir() ); <\/code><\/pre>\n<p>  <b><code>zeroise<\/code><\/b><br \/>  \u0414\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0447\u0438\u0441\u043b\u043e \u043d\u0443\u043b\u044f\u043c\u0438 \u0434\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$tickets_count = 8; echo zeroise( $tickets_count, 3 ); \/\/ 008 <\/code><\/pre>\n<p>  <b><code>capital_P_dangit<\/code><\/b><br \/>  \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0431\u0440\u0435\u043d\u0434\u0430 WordPress.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$string = &quot;I Love WordPress&quot;; echo capital_P_dangit( $string ); \/\/ I Love WordPress <\/code><\/pre>\n<p>  <b><code>get_num_queries<\/code><\/b><br \/>  \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e SQL-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">&lt;!-- Number of queries: &lt;?php echo get_num_queries(); ?&gt; --&gt; <\/code><\/pre>\n<p>  <b><code>wp_text_diff<\/code><\/b><br \/>  \u041d\u0430\u0445\u043e\u0434\u0438\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0438\u0445 \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$left_string = 'This is the original string'; $right_string = 'This is the revised string'; echo wp_text_diff( $left_string, $right_string ); <\/code><\/pre>\n<p>  <b><code>submit_button<\/code><\/b><br \/>  \u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">&lt;?php submit_button( __( 'Save Changes' ) ); ?&gt; <\/code><\/pre>\n<p>  enjoy \ud83d\ude42 \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/233089\/\"> http:\/\/habrahabr.ru\/post\/233089\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0421\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c \u043b\u0438 \u0441 \u0432\u0430\u043c\u0438, \u0447\u0442\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u043a\u043e\u0434\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0438\u043b\u0438 \u0442\u0435\u043c\u044b, \u0432\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0435 \u0437\u043d\u0430\u043b\u0438? \u0412 \u0442\u0430\u043a\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043b\u044e\u0431\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043e\u0449\u0443\u0449\u0430\u0435\u0442 \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043d\u0438\u0447\u0442\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u044f \u043a\u0430\u043a\u0438\u0435 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434\u044b \u043e\u043d \u0433\u043e\u0440\u043e\u0434\u0438\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445. <\/p>\n<p>  \u0414\u0430\u0431\u044b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0441\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u044f \u0440\u0435\u0448\u0438\u043b \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u043b\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445, \u043d\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439:<\/p>\n<p>  <b><code>make_clickable<\/code><\/b><br \/>  \u041d\u0430\u0445\u043e\u0434\u0438\u0442 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0438\u0445 \u043a\u043b\u0438\u043a\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u043c\u0438.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$string = &quot;This is a long text that contains some links like http:\/\/www.wordpress.org and http:\/\/www.wordpress.com .&quot;; echo make_clickable( $string );  <\/code><\/pre>\n<p>  <b><code>popuplinks<\/code><\/b><br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 <code>target='_blank' rel='external'<\/code> \u0432\u0441\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0430\u043c \u0432 \u0442\u0435\u043a\u0441\u0442\u0435.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$string = &quot;This is a long text that contains some links like &lt;a href='http:\/\/www.wordpress.org'&gt;http:\/\/www.wordpress.org&lt;\/a&gt; and &lt;a href='http:\/\/www.wordpress.com'&gt;http:\/\/www.wordpress.com&lt;\/a&gt; .&quot;; echo popuplinks( $string );  <\/code><\/pre>\n<p>  <b><code>wp_list_pluck<\/code><\/b><br \/>  \u0414\u043e\u0441\u0442\u0430\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u0438\u0437 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$posts = get_posts(); $ids = wp_list_pluck( $posts, 'ID' ); \/\/ [1, 2, 3, ...] <\/code><\/pre>\n<p>  <b><code>antispambot<\/code><\/b><br \/>  \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0430\u0434\u0440\u0435\u0441\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u044b HTML, \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u0441\u043f\u0430\u043c-\u0431\u043e\u0442\u043e\u0432.<br \/>  <i>\u041f\u0440\u0438\u043c\u0435\u0440:<\/i>  <\/p>\n<pre><code class=\"php\">$email = 'example@email.com'; echo '&lt;a href=&quot;mailto:' . antispambot( $email ) . '&quot;&gt;' . antispambot( $email ) . '&lt;\/a&gt;'; <\/code><\/pre>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-233089","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/233089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=233089"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/233089\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}