new\\u to\\u holding不作为post状态转换存在-您需要使用常规transition\\u post\\u status操作。类似(未经测试):
add_action(\'transition_post_status\',\'my_holding_function\', 10, 3);
function my_holding_function( $new_status, $old_status, $post ) {
if ( \'holding\' == $new_status ) {
// do stuff
}
}