admin-ajax

Posted in: Newspaper
Post count: 8

What is the use of this script?
/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=6.6.5

Post count: 23312

Hello Diceman,

Please notice that his type of file admin-ajax.php is a part of the WordPress AJAX API, it does handle requests from both backend and front. For more information about this kind of file, please check this article, here -> http://www.markomedia.com.au/admin-ajax-php-high-cpu-problem-solved/ and here -> https://premium.wpmudev.org/blog/using-ajax-with-wordpress/

Thank you for your understanding!

Post count: 8

Hi Catalin,

Thank you for the information.
Does the theme call the AJAX API?

Post count: 23312

Hello Diceman,

As part of its core, WordPress includes a handler file called “admin-ajax.php” to facilitate all things AJAX. This file will allow you to use jQuery to call PHP functions much like an API. Please notice that this is a link between php and javascript and the theme uses this library when making various changes in the panel.

Thanks.

Post count: 8

Okay,

Does the theme also use this API on the frontend?

Post count: 8

I think I’ve found it!

it can be changed from here: http://screencast.com/t/BCnKSuB53Tlm The file is here: includes/wp_booster/td_js_generator.php

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.