Sunday, 1 April 2018

PHP Wp : Only Declare Role can view content div

<?php
if (current_user_can('editor')){
?>

yang ni editor je boleh view, kalau bukan editor tak boleh

<?php
}
?>

Cara-Cara Untuk Bypass/Solve: Database Problem.

  Warning: Attempt to read property "post_status" on null in /home/xxx/public_html/wp-admin/includes/template.php on line 2298 Wa...