'ari-stream-quiz-quiz', 'action' => 'add', 'type' => ARISTREAMQUIZ_QUIZTYPE_TRIVIA, ), $remove_url_params ); $edit_url = Helper::build_url( array( 'page' => 'ari-stream-quiz-quiz', 'action' => 'edit', 'id' => '__quizId__' ), $remove_url_params ); $preview_quiz_url = Helper::build_url( array( 'page' => 'ari-stream-quiz-quizzes', 'action' => 'preview', 'post_id' => '__postId__', ), $remove_url_params ); $action_url = Helper::build_url( array( 'noheader' => '1', ), $remove_url_params ); $create_post_lbl = _x( 'Create post / page', '%1$s = new post link, %2$s = new page link', 'ari-stream-quiz' ); $date_time_format = get_option( 'date_format' ) . ' ' . get_option( 'time_format' ); $current_path = dirname( __FILE__ ); $time_ago_format = _x( '%s ago', '%s = human-readable time difference', 'ari-stream-quiz' ); $col_names = array( 'title' => __( 'Title', 'ari-stream-quiz' ), 'type' => __( 'Type', 'ari-stream-quiz' ), 'author' => __( 'Author', 'ari-stream-quiz' ), 'created' => __( 'Created on', 'ari-stream-quiz' ), 'modified' => __( 'Last update', 'ari-stream-quiz' ), 'shortcode' => __( 'Shortcode', 'ari-stream-quiz' ), ); $col_names_attr = array(); foreach ( $col_names as $col_name_key => $col_name ) $col_names_attr[$col_name_key] = esc_attr($col_name); ?>