04 June 2020

How to get page name from url in php?


Get page name from url in php.


 $slug = basename(get_permalink());

No comments:

Post a Comment

How to add re-captcha v3 on all Elementor forms using coding?

 Add re-captcha v3 on all Elementor forms using coding add_action('wp_footer',function(){     ?> <script src="https://www...