->get( 'person_logo', '' ); } /** * Gets the person logo url from the option in the database. * * @param string $person_logo The given person logo by the user, default empty. * * @return string|false The person logo URL. */ private function get_person_fallback_logo( $person_logo ) { if ( $person_logo ) { return false; } $logo_id = $this->meta_tags_context->fallback_to_site_logo(); return \esc_url( \wp_get_attachment_url( $logo_id ) ); } /** * Gets the person logo id from the option in the database. * * @return string The person logo id. */ private function get_person_logo_id() { return $this->options_helper->get( 'person_logo_id', '' ); } /** * Gets the site tagline. * * @return string The site tagline. */ private function get_site_tagline() { return \get_bloginfo( 'description' ); } /** * Gets the social profiles stored in the database. * * @return string[] The social profiles. */ private function get_social_profiles() { return $this->social_profiles_helper->get_organization_social_profiles(); } /** * Checks whether tracking is enabled. * * @return bool True if tracking is enabled, false otherwise, null if in Free and conf. workout step not finished. */ private function has_tracking_enabled() { $default = false; if ( $this->product_helper->is_premium() ) { $default = true; } return $this->options_helper->get( 'tracking', $default ); } /** * Checks whether tracking option is allowed at network level. * * @return bool True if option change is allowed, false otherwise. */ private function is_tracking_enabled_multisite() { $default = true; if ( ! \is_multisite() ) { return $default; } return $this->options_helper->get( 'allow_tracking', $default ); } /** * Checks whether we are in a main site. * * @return bool True if it's the main site or a single site, false if it's a subsite. */ private function is_main_site() { return \is_main_site(); } /** * Gets the options for the Company or Person select. * Returns only the company option if it is forced (by Local SEO), otherwise returns company and person option. * * @return array The options for the company-or-person select. */ private function get_company_or_person_options() { $options = [ [ 'label' => \__( 'Organization', 'wordpress-seo' ), 'value' => 'company', 'id' => 'company', ], [ 'label' => \__( 'Person', 'wordpress-seo' ), 'value' => 'person', 'id' => 'person', ], ]; if ( $this->should_force_company() ) { $options = [ [ 'label' => \__( 'Organization', 'wordpress-seo' ), 'value' => 'company', 'id' => 'company', ], ]; } return $options; } /** * Checks whether we should force "Organization". * * @return bool */ private function should_force_company() { return $this->addon_manager->is_installed( WPSEO_Addon_Manager::LOCAL_SLUG ); } /** * Checks if the current user has the capability to edit a specific user. * * @param int $person_id The id of the person to edit. * * @return bool */ private function can_edit_profile( $person_id ) { return \current_user_can( 'edit_user', $person_id ); } } COVID19 Archives - Nations Help Skip to content

Entre em contato agora mesmo pelo WhatsApp +55 (31) 9931-8830 ou pelo telefone +55 (31) 3582-0731 (9:00 – 17:00).