How should I document function calls?

You don’t document function calls, but function definitions. Because the function could be called unlimited times, right? So it makes no sense to document functions when they are called. If you document the call, then probably because you do some things you want to remember later – or let other following developers know. But normally, … Read more

Is there a top-down documentation for WordPress?

WordPress is very… utilitarian I suppose. People tend to use and know as much as they need to get things done. Curiously that tends to exclude the low level core load process. It doesn’t help the situation that (unlike modern frameworks) WordPress doesn’t use a complete routing logic for everything. Front-end is governed by rewrite/permalinks, … Read more

What’s the difference between the capability remove_users and delete_users?

The difference is really no difference in regular (single install) WordPress. It’s in a multisite install (network) where there is a difference. In multisite, only a Super Admin (who can manage everything on the network) has delete_users capability, while an “admin” (who would own/manage a single site) can remove_users from their site, but cannot delete … Read more

Is the codex no longer actively maintained?

(hmm this is somewhat off-topic, but will let others decide on it) Better answer Although it is hard to track official announcement, as @darmb pointed out in the comments there are indications that the official documentation effort is drifting away from the codex in favor of the developer site, and the “make” blogs/sites. So in … Read more

Local copy of WordPress Codex?

I Use a much faster and easier way to create a local copy of the codex without installing a local server and without installing copy of mediawiki, its called ScrapBook which is a Firefox extension, that helps you to save Web pages and manage the collection. Key features are lightness, speed, accuracy and multi-language support. … Read more

Documentation for using JavaScript code inside a PDF file

Probably you are looking for JavaScript™ for Acrobat® API Reference. This reference should be the most complete. But, as @Orbling said, not all PDF viewers might support all of the API. EDIT: It turns out there are newer versions of the reference in Acrobat SDK (thanks to @jss). Acrobat Developer Center contains links to different versions of … Read more

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