Tag Archives: check
Add following snippet to “functions.php” Snippet Result A conditional function to check if the current page is a descendant of the ID given to it. Useful for determining if a page is a grandchild, great-grandchild or father down the hierarchy tree.
If you want to check if a short code exists before performing some action. `has_shortcode` is a custom function that will check short code’s availability.