check if front page wordpress
if ( is_front_page() ) :
get_header( 'front' );
else :
get_header();
endif;
Also in PHP:
- convert string to all caps php
- __dir__ in php
- echo php console
- 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
- check if array key exists php
- check if string not contains php
- date and tome php
- disable login and register in laravel
- display php error
- eloquent seeds down
- check array is exist
- current date timestamp in php
- ?type in php
- error uncaught even in try catch php
- date to string php
- convert date to times php
- add unique value in array php
- array deduplicate in php
- Uncaught RedisException: Redis server went away in
- - phpunit/phpunit[8.5.0, ..., 8.5.x-dev] require ext-dom * ->
- add days to date php
- equivalent console.log in php
- The "App\Entity\ entity has a repositoryClass set to but this is not a valid class.
- encode string for csv