Are there any action like ‘init_frontend’

You can combine add_action() and an is_admin() check:

! is_admin() and add_action( 'init', 'my_custom_callback' );

Now the callback function will run on front-end only.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)