Submit
Path:
~
/
home
/
getwphos
/
www
/
bubrupamjcb.com
/
wp-content
/
plugins
/
powerkit
/
modules
/
post-format-ui
/
File Content:
class-powerkit-post-format-ui.php
<?php /** * Post Format UI * * @package Powerkit * @subpackage Modules */ if ( class_exists( 'Powerkit_Module' ) ) { /** * Init module */ class Powerkit_Post_Format_UI extends Powerkit_Module { /** * Register module */ public function register() { $this->name = powerkit_esc_html__( 'Post Format UI', 'powerkit' ); $this->desc = null; $this->slug = 'post_format_ui'; $this->type = 'default'; $this->category = 'basic'; $this->priority = 0; $this->public = false; $this->enabled = true; } /** * Initialize module */ public function initialize() { /* Load the required dependencies for this module */ add_action( 'init', array( $this, 'deferred_init' ) ); } /** * Initialize based on theme customization */ public function deferred_init() { if ( get_theme_support( 'powerkit-post-format-ui' ) ) { // Helpers Functions for the module. require_once dirname( __FILE__ ) . '/helpers/helper-powerkit-post-format-ui.php'; // Admin and public area. require_once dirname( __FILE__ ) . '/admin/class-powerkit-post-format-ui-admin.php'; new Powerkit_Post_Format_UI_Admin( $this->slug ); } } } new Powerkit_Post_Format_UI(); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
admin
---
0755
helpers
---
0755
class-powerkit-post-format-ui.php
1249 bytes
0644
N4ST4R_ID | Naxtarrr