Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Generator::get_term_id( string $term_name, string $tax )

Get a WP Term ID for a term by taxonomy and term name


Description Description

Attempts to find a given term by name first to prevent duplicates during imports.


Top ↑

Parameters Parameters

$term_name

(string) (Required) Term name.

$tax

(string) (Required) Taxonomy slug.


Top ↑

Return Return

(int|void)


Top ↑

Source Source

File: includes/class.llms.generator.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.