How to properly strip all HTML tags including script and style 

If its necessary to clean all HTML tags and JS scripts from any content next PHP function will do the job …

  How to remove specific element from JavaScript array? 

Using JavaScript function ‘splice’ for removing items from JavaScript array …

  Wrap all items of array in quotes – PHP 

If we have associative PHP array and its necessary print it in JavaScript array, we ca use next PHP code:

   

  Unserialize PHP value only if it was serialized 

If its necessary to check is string we got is serialized array and unserialize it if its true …

  Call a PHP callback function with an array of parameters 

If its necessary, for example in any PHP loop (foreach) using any defined logic call specialized function with arguments by that logic –  next code will do it:

  Kill WordPress execution and display HTML message with error message 

If its necessary to stop execution of PHP process in WordPress and show to the user any message with the reason of it, next function will do it:

  How to restrict access to wp-admin using .htaccess 

Apache .htaccess script for access restrictions …

  How to parse link by PHP 

How to make parsing of link query by PHP …

  How to remove text only from tag container by jQuery 

How to remove text nodes only from any tag container …