/** * Get the base ID of the post (ID of post in default language) * * @access public * @return int */ public function get_base_id() { return apply_filters('socialchef_entity_base_id', $this->post ? SocialChef_Theme_Utils::get_default_language_post_id($this->post->ID, $this->entity_type) : null, $this); }