| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/wp-content/plugins/wordpress-seo/src/helpers/ |
Upload File : |
<?php
namespace Yoast\WP\SEO\Helpers;
/**
* A helper object for the filter_input.
*/
class Input_Helper {
/**
* Returns the result of the filter_input. This is mostly a wrapper so we can test.
*
* @param int $input_type The type of input constant (e.g. INPUT_POST, INPUT_GET ).
* @param string $search_string The property to get from the input.
* @param int $filter Optional. The constant that defines the sanitization.
*
* @return string The result of the get input.
*/
public function filter( $input_type, $search_string, $filter = \FILTER_DEFAULT ) {
return \filter_input( $input_type, $search_string, $filter );
}
}