Function: wp_can_install_language_pack

wp_can_install_language_pack( )

Check if WordPress has access to the filesystem without asking for credentials.

Returns

boolean

Returns true on success, false on failure.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.