Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Чтобы отобразить массив запросов в вашей теме,
- добавьте следующий код в любой файл шаблона темы:
- */
- if ( current_user_can( 'manage_options' ) ) {
- global $wpdb;
- print_r( $wpdb->queries );
- }
Add Comment
Please, Sign In to add comment