M,& Wenn aktiv kann dieser Gutschein nur einzeln benutzt werden. Andere angewendete Gutscheine werden vom Warenkorb entfernt. `%& %& If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only. XM,& Wenn aktiv wird die Notiz für den Kunden sichtbar und er wird benachrichtigt. Wenn inaktiv ist diese Notiz nur für Admins. M,& & Wenn dies der Fall ist, wird dieser Gutschein nicht auf Produkte/Artikel mit Angebotspreisen (Sale) angewendet. P%& ,& If true, this note will be attributed to the current user. If false, the note will be attributed to the system. %& & :& +& & 3& Wenn du eine „AGB“-Seite festlegst, wird der Kunde gebeten, diese zu akzeptieren, wenn die Kasse-/ Bezahlen-Seite aufgerufen wird. P3& & Wenn du diese Anfrage nicht gesendet hast, kannst du diese E-Mail ignorieren. Wenn du fortfahren möchtest: .& .& & %& If you have shopped with us before, please enter your details below. If you are a new customer, please proceed to the Billing section. ,& ,& @%& %& 3& st_id The post ID. * @param string $main_taxonomy The main taxonomy. * * @return int|false The ID of the primary term, or `false` if the post ID is invalid. */ private function get_primary_term_id( $post_id, $main_taxonomy ) { $primary_term = $this->primary_term_repository->find_by_post_id_and_taxonomy( $post_id, $main_taxonomy, false ); if ( $primary_term ) { return $primary_term->term_id; } return \get_post_meta( $post_id, WPSEO_Meta::$meta_prefix . 'primary_' . $main_taxonomy, true ); } /** * Removes the primary category. * * @param int $post_id The post id to set primary taxonomy for. * @param string $main_taxonomy Name of the taxonomy that is set to be the primary one. */ private function remove_primary_term( $post_id, $main_taxonomy ) { $primary_term = $this->primary_term_repository->find_by_post_id_and_taxonomy( $post_id, $main_taxonomy, false ); if ( $primary_term ) { $primary_term->delete(); } // Remove it from the post meta. \delete_post_meta( $post_id, WPSEO_Meta::$meta_prefix . 'primary_' . $main_taxonomy ); } /** * Builds the hierarchy for a post. * * @param WP_Post $post The post. */ public function build_post_hierarchy( $post ) { if ( $this->post_type_helper->is_excluded( $post->post_type ) ) { return; } $indexable = $this->indexable_repository->find_by_id_and_type( $post->ID, 'post' ); if ( $indexable instanceof Indexable ) { $this->indexable_hierarchy_builder->build( $indexable ); } } }