- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
52 lines
895 B
PHP
Executable File
52 lines
895 B
PHP
Executable File
<?php
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-visual-editor
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden!
|
|
}
|
|
|
|
/**
|
|
* Class TCB_Pagination_First_Last_Button_Element
|
|
*/
|
|
class TCB_Pagination_First_Last_Button_Element extends TCB_Button_Element {
|
|
/**
|
|
* Name of the element
|
|
*
|
|
* @return string
|
|
*/
|
|
public function name() {
|
|
return __( 'First / Last Buttons', 'thrive-cb' );
|
|
}
|
|
|
|
/**
|
|
* Button element identifier
|
|
*
|
|
* @return string
|
|
*/
|
|
public function identifier() {
|
|
return '.' . TCB_Pagination_Numeric::FIRST_LAST_BUTTON_CLASS;
|
|
}
|
|
|
|
/**
|
|
* Component and control config
|
|
*
|
|
* @return array
|
|
*/
|
|
public function own_components() {
|
|
return TCB_Utils::get_pagination_button_config( parent::own_components() );
|
|
}
|
|
|
|
/**
|
|
* Hide this element in the sidebar.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function hide() {
|
|
return true;
|
|
}
|
|
}
|