get_queried_object_id(); } elseif ( isset( $post->ID ) && ! is_search() && ! is_category() ) { $post_id = $post->ID; } \Analytica\Options::$post_id = $post_id; } return apply_filters( __FUNCTION__, \Analytica\Options::$post_id, $post_id_override ); }