PluginProbe
The WP Remote WordPress Plugin / 6.76
The WP Remote WordPress Plugin v6.76
6.76 6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 All 54 releases
wpremote / protect / fw / rule / functions.php

functions.php in The WP Remote WordPress Plugin 6.76, at protect/fw/rule/functions.php

30 lines 853 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * private function _rf_fooBar(string $param1, array $param2, int $param3 = null) {}
4 *
5 * private function _rf_fooBar() {
6 * $args = $this->processRuleFunctionParams(
7 * 'fooBar',
8 * func_num_args(),
9 * func_get_args(),
10 * 2, //required argument number.
11 * ['string', 'array'] //argument types
12 * );
13 * $param1 = $args[0];
14 * $param2 = $args[1];
15 * if(isset($args[2])) {
16 * $param3 = $args[2];
17 * }
18 *
19 * //function definition;
20 *
21 * return $val;
22 * }
23 **/
24 if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
25
26 require_once dirname( __FILE__ ) . '/functions/string.php';
27 require_once dirname( __FILE__ ) . '/functions/array.php';
28 require_once dirname( __FILE__ ) . '/functions/misc.php';
29 require_once dirname( __FILE__ ) . '/functions/request.php';
30 require_once dirname( __FILE__ ) . '/functions/wp.php';