Tag Info

New answers tagged

3

You will get all the meta for the user by using get_user_meta function $all_meta_for_user = get_user_meta( [user ID] ); echo "<pre>"; print_r( $all_meta_for_user );


0

You can just use the get_option() function like this: <?php $main_dashboard_check = get_option( 'main_dashboard_check' ); var_dump( $main_dashboard_check ); /* outputs false if the value does not exist */ $main_dashboard_check = get_option( 'main_dashboard_check', 'default_value' ); var_dump( $main_dashboard_check ); /* outputs 'default_value' if the ...



Top 50 recent answers are included