add_filter( 'body_class', function( $classes ){
foreach( (array) wp_get_current_user()->roles as $role ){
$classes[] = "role-$role";
}
return $classes;
});
Code Example |
---|
Php :: php-like-system-with-notification-using-ajax-jquery |
Php :: php blob to string |
Php :: php version 7.4 |
:: laravel 8 template favicon |
:: no cache on browser back php |
:: laravel read csv |
Php :: |
:: how to put external file in laravel listener class |
:: LongestWord |
Php :: Call to undefined method AppModelsespece::links() laravel 8 |
Php :: Laravel advanced sub queries |
Php :: get.krnl.key |
:: phpmyadmin account locked |
Php :: php pop up message |
Php :: Convert Array Value Session Value To String PHP |
Php :: sail laravel mix hot |
Php :: larqavel migration |
Php :: laravel migration unknown column type double requested |
Php :: Laravel 9.x Target class does not exist error at login application |
:: CausesActivity trait |
Php :: |
:: |
Php :: |
Php :: How to create an Invoice with watermark FPDF |
:: |
Php :: |
:: Sorting Products by Custom Meta Fields |
Php :: |
Php :: |
:: laravel DomPDF live preview |