HEX
Server: Apache
System: Linux uws7-179.cafe24.com 3.10.0-1160.119.1p.el7.x86_64 #1 SMP Thu Sep 11 14:15:01 KST 2025 x86_64
User: medikors (1589)
PHP: 7.3.1p1
Disabled: mysql_pconnect
Upload Files
File: /medikors/www/wp-content/plugins/raven/includes/core/library/documents/library-document.php
<?php
/**
 * Add Library Document Base.
 *
 * @package Raven
 * @since 1.0.0
 */

namespace Raven\Core\Library\Documents;

use Elementor\Modules\Library\Documents\Library_Document as Elementor_Library_Document;

defined( 'ABSPATH' ) || die();

/**
 * Raven library document.
 *
 * Raven library document handler class is responsible for handling
 * a document of the library type.
 *
 * @since 1.0.0
 */
abstract class Library_Document extends Elementor_Library_Document {

	/**
	 * Get document edit url.
	 *
	 * Retrieve the document edit url.
	 *
	 * @since 1.0.0
	 * @access public
	 */
	public function get_edit_url() {
		$url = parent::get_edit_url();

		if ( isset( $_GET['action'] ) && 'elementor_new_post' === $_GET['action'] ) { // phpcs:ignore
			$url .= '#library';
		}

		return $url;
	}
}