function vkExUnit_childPageIndex_contentHook($content)
{
    if (vkExUnit_is_excerpt()) {
        return $content;
    }
    global $is_pagewidget;
    if ($is_pagewidget) {
        return $content;
    }
    global $post;
    if (!is_page() || !get_post_meta($post->ID, 'vkExUnit_childPageIndex', true)) {
        return $content;
    }
    $content .= "\n[vkExUnit_childs]";
    return $content;
}
 public function set_content($content)
 {
     if (vkExUnit_is_excerpt()) {
         return $content;
     }
     global $is_pagewidget;
     if ($is_pagewidget) {
         return $content;
     }
     $option = $this->get_option();
     if (get_post_type() == 'post') {
         $content = preg_replace('/(<span id="more-[0-9]+"><\\/span>)/', '$1' . '[vkExUnit_ad area=more]', $content);
         $content .= '[vkExUnit_ad area=after]';
     }
     return $content;
 }
 public static function is_my_turn()
 {
     if (vkExUnit_is_excerpt()) {
         return false;
     }
     if (!is_page()) {
         return false;
     }
     if (get_post_meta(get_the_id(), 'vkExUnit_contact_enable', true)) {
         return true;
     }
     return false;
 }
 public function content_filter($content)
 {
     if (self::is_pagewidget()) {
         return $content;
     }
     if (vkExUnit_is_excerpt()) {
         return $content;
     }
     $content .= self::render_cta_content($this->is_cta_id());
     return $content;
 }