'none (anonymous)', 'claim_id' => 'null' ); // Generate a custom nonce $lbrynonce = wp_create_nonce( 'lbry_publish_post_nonce' ); $channels = LBRY()->daemon->channel_list(); $channels[] = $unnatributed; $post_id = $post->ID; $cur_channel = ( get_post_meta( $post_id, '_lbry_post_pub_channel', true ) ? get_post_meta( $post_id, '_lbry_post_pub_channel', true ) : get_post_meta( $post_id, '_lbry_channel', true ) ); $default_channel = get_option( LBRY_SETTINGS )['default_lbry_channel']; // Sort the channels in a natural way usort( $channels, array( 'LBRYPress', 'channel_name_comp' ) ); ?>
$channel ) { $options .= ''; } printf( '', '_lbry_post_pub_channel', $options ); } ?>
licenses; $options = ''; $default_license = get_option(LBRY_SETTINGS)[LBRY_LICENSE]; $cur_license = get_post_meta( $post_id, '_lbry_post_pub_license', true ); // Create options list, select current license if ( $licenses ) { foreach ( $licenses as $value => $name ) { $options .= '