Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Chouby on "[Plugin: Polylang] WP-CLI support"

$
0
0

I don't use WP-CLI, but such functionality may interest some other users.

Just some comments / questions:
Why did you not include all the code in the Polylang_Command class?
Is there a specific reason for adding these two lines

if (defined('WP_CLI') && WP_CLI)
	require_once(PLL_INC.'/cli.php');

in polylang.php, rather than making a separate plugin?

There was also this question a couple of months ago. Do you set the language of a post / term using WP-CLI? Or maybe you just setup the website and don't add content.


Viewing all articles
Browse latest Browse all 11471

Trending Articles