Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
50 | public function get_affiliate_code() { |
||
51 | /** |
||
52 | * Allow to filter the affiliate code. |
||
53 | * |
||
54 | * @since 6.9.0 |
||
55 | * |
||
56 | * @param string $aff_code The affiliate code, blank by default. |
||
57 | */ |
||
58 | return apply_filters( 'jetpack_affiliate_code', get_option( 'jetpack_affiliate_code', '' ) ); |
||
59 | } |
||
60 | } |
||
63 |