Submit
Path:
~
/
home
/
contenidosenred
/
www
/
OD
/
wp-content
/
plugins
/
wp-ulike
/
admin
/
settings
/
functions
/
File Content:
helpers.php
<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly. /** * * Array search key & value * * @since 1.0.0 * @version 1.0.0 * */ if ( ! function_exists( 'ulf_array_search' ) ) { function ulf_array_search( $array, $key, $value ) { $results = array(); if ( is_array( $array ) ) { if ( isset( $array[$key] ) && $array[$key] == $value ) { $results[] = $array; } foreach ( $array as $sub_array ) { $results = array_merge( $results, ulf_array_search( $sub_array, $key, $value ) ); } } return $results; } } /** * * Between Microtime * * @since 1.0.0 * @version 1.0.0 * */ if ( ! function_exists( 'ulf_timeout' ) ) { function ulf_timeout( $timenow, $starttime, $timeout = 30 ) { return ( ( $timenow - $starttime ) < $timeout ) ? true : false; } } /** * * Check for wp editor api * * @since 1.0.0 * @version 1.0.0 * */ if ( ! function_exists( 'ulf_wp_editor_api' ) ) { function ulf_wp_editor_api() { global $wp_version; return version_compare( $wp_version, '4.8', '>=' ); } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
actions.php
5528 bytes
0644
customize.php
4431 bytes
0644
helpers.php
1091 bytes
0644
sanitize.php
534 bytes
0644
validate.php
2802 bytes
0644
walker.php
752 bytes
0644
N4ST4R_ID | Naxtarrr