get_by (tag)

get_page_by_path()

Gets the post by the specified path of this page: parent-page/sub-page. The result is cached.

get_page_by_title()

Retrieve any type of post (page, post, custom type) by given title.

get_site()

Retrieves site data from a network by its ID. If no argument is specified, retrieves the current site.

WC_Product{}

Works with data of an individual WooCommerce product: name, prices, stock quantities, images, attributes, and other properties. Allows creating, retrieving, modifying, and deleting products.