WordPress hook which triggers on post import

If you are trying to fire your function when the WordPress Importer runs, there are a few filters and action hooks available.

From the plugin documentation:

import_start: occurs after the export file has been uploaded and author import settings have been chosen

import_end: called after the last output from the importer

https://wordpress.org/plugins/wordpress-importer/

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