我有以下PHP代码:
$posts = get_posts([
\'post_type\' => \'clen\',
\'post_status\' => \'publish\',
\'numberposts\' => -1,
\'orderby\' => \'funkcia\',
\'order\' => \'DESC\'
]);
但是,此代码不会对帖子进行排序funkcia
完全是场上的。请问我的代码怎么了?
非常感谢。