PluginProbe ʕ •ᴥ•ʔ
Loco Translate / 2.7.2
Loco Translate v2.7.2
2.8.5 2.8.4 2.5.8 2.6.0 2.6.1 2.6.10 2.6.11 2.6.12 2.6.13 2.6.14 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0 2.8.1 2.8.2 2.8.3 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2 1.2.1 1.2.2 1.3 1.3.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7
loco-translate / src / test / TestFilters.php
loco-translate / src / test Last commit date
DummyFtpConnect.php 4 years ago RecursiveException.php 9 years ago TestCase.php 2 years ago TestFilters.php 9 years ago TransientObject.php 9 years ago WordPressTestCase.php 1 year ago
TestFilters.php
26 lines
1 <?php
2 /**
3 * Dummy filter methods for testing Hookable base class
4 */
5 class Loco_test_TestFilters extends Loco_hooks_Hookable {
6
7
8 /**
9 * Test filter returns arguments exactly as passed
10 * @return array
11 */
12 public function filter_loco_test_passthru_arguments( $foo ){
13 return func_get_args();
14 }
15
16
17 /**
18 * Test filter increments passed number by +1
19 * @return int
20 */
21 public function filter_loco_test_increment_by_one( $n ){
22 return ++$n;
23 }
24
25
26 }