If you get this error message in Firefox:

Load denied by X-Frame-Options: http://mysite/wp-admin/admin-ajax.php does not permit cross-origin framing.

The fix was to add the following line to the file admin-ajax.php after the opening PHP tag:

header(‘X-Frame-Options: GOFORIT’);

more similar articles

When you need to direct a particular user to a certain page based on their role in WordPress, you don’t need to spend money on a redirect plugin – just put the following code in your function.php file.

n

For instance, if you want all Subscribers to be redirected to their Dashboard.

When you need to direct a particular user to a certain page based on their role in WordPress, you don’t need to spend money on a redirect plugin – just put the following code in your function.php file.

For instance, if you want all Subscribers to be redirected to their Dashboard.