>

user_id; $author = edd_get_bot_name(); if ( ! empty( $user_id ) ) { /* translators: user ID */ $author = sprintf( __( 'User ID #%s', 'easy-digital-downloads' ), $user_id ); $user_object = get_userdata( $user_id ); if ( $user_object ) { $author = ! empty( $user_object->display_name ) ? $user_object->display_name : $user_object->user_login; } } // URL to delete note $delete_note_url = wp_nonce_url( add_query_arg( array( 'edd-action' => 'delete_note', 'note_id' => absint( $note->id ), ) ), 'edd_delete_note_' . absint( $note->id ) ); // Start a buffer ob_start(); ?>
content ) ); ?>
0, 'pag_arg' => 'paged', 'base' => '%_%', 'show_all' => true, 'prev_text' => is_rtl() ? '→' : '←', 'next_text' => is_rtl() ? '←' : '→', 'add_fragment' => '' ) ); // Maximum notes per page $per_page = apply_filters( 'edd_notes_per_page', 20 ); $r['total'] = ceil( $r['total'] / $per_page ); $r['format'] = "?{$r['pag_arg']}=%#%"; // Don't allow pagination beyond the boundaries $r['current'] = ! empty( $_GET[ $r['pag_arg'] ] ) && is_numeric( $_GET[ $r['pag_arg'] ] ) ? absint( $_GET[ $r['pag_arg'] ] ) : 1; // Start a buffer ob_start(); ?>