How do add_action and WP_Query

  1. add_action/add_filter recive few arguments. Second one is callback.
  2. It’s done using constructor method.

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