Last active
April 3, 2020 23:27
-
-
Save KaineLabs/b127d569a333e79f79dce4d0efa8668d to your computer and use it in GitHub Desktop.
Change Profile Header Structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Change Profile Header Structure | |
*/ | |
function yzc_edit_header_structure( $args ) { | |
$args['hdr-v3'] = array( | |
'firstrow' => array( | |
'inner' => array( 'photo', 'name', 'ratings', 'meta', 'networks','statistics' ) | |
) | |
); | |
return $args; | |
} | |
add_filter( 'yz_profile_headers_args', 'yzc_edit_header_structure' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment