how can js call my function in php? and what function in php should i call when i want to put in the content area? thank you for the reply @esmi. . . .
im using wp_enqueue_script().My problem is how can i call my function and load into the content area automatically cause im doing it manually? for example i have a link home and product when i click product in one of my navigation it will call that function and that call will call the php file and it will show in the content area. how can i achieve this? im new in wordpress. thank you.