mirror of
https://github.com/buddypress/buddypress.git
synced 2026-07-22 20:56:55 +08:00
Starting in WordPress 5.5, the template loading functions will now allow additional arguments to be passed through to the matched template file using a new $args parameter. This changeset passes an extra argument through the BuddyPress template loading wrapper functions to the underlying WordPress functions. Props imath. Fixes #8350. git-svn-id: https://buddypress.svn.wordpress.org/trunk@12726 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2 lines
36 B
PHP
2 lines
36 B
PHP
<?php
|
|
echo (int) $args['test'] + 1;
|