Skip to content

Instantly share code, notes, and snippets.

View Codevz's full-sized avatar
🎯
Focusing

Codevz Codevz

🎯
Focusing
View GitHub Profile
@Codevz
Codevz / codevz-importer-after_import_slider.php
Last active June 18, 2022 10:19
XTRA WP Theme - Action hook run your PHP code after importing slider in demo importer, https://xtratheme.com/
<?php
/**
* With this function you can run your PHP code after importing slider in demo importer.
*
*/
function my_prefix_after_import_slider() {
// Run you custom PHP codes here.
@Codevz
Codevz / codevz-importer-after_import_content.php
Last active June 18, 2022 10:19
XTRA WP Theme - Action hook run your PHP code after importing content in demo importer, https://xtratheme.com/
<?php
/**
* With this function you can run your PHP code after importing content in demo importer.
*
*/
function codevz_after_import_content() {
// Run you custom PHP codes here.
@Codevz
Codevz / codevz-importer-after_import_widgets.php
Last active June 18, 2022 10:20
XTRA WP Theme - Action hook run your PHP code after importing widgets in demo importer, https://xtratheme.com/
<?php
/**
* With this function you can run your PHP code after importing widgets in demo importer.
*
*/
function my_prefix_after_import_widgets() {
// Run you custom PHP codes here.
@Codevz
Codevz / codevz-importer-after_import_theme_options.php
Last active June 18, 2022 10:20
XTRA WP Theme - Action hook after importing theme options from demo importer, https://xtratheme.com/
<?php
/**
* With this function you can modify imported theme options and change any options you want.
*
* @var $options = imported theme options array
*/
function my_prefix_after_import_theme_options( $options ) {
// Replace website logo after importing demo.
@Codevz
Codevz / codevz-after_footer_2.php
Last active June 18, 2022 10:21
XTRA WP Theme - Action hook for adding content after footer bottom bar, https://xtratheme.com/
@Codevz
Codevz / codevz-before-footer-2.php
Last active June 18, 2022 10:22
XTRA WP Theme - Action hook for adding content before footer bottom bar, https://xtratheme.com/
@Codevz
Codevz / codevz-after_footer_1.php
Last active June 18, 2022 10:22
XTRA WP Theme - Action hook for adding content after footer top bar, https://xtratheme.com/
@Codevz
Codevz / codevz-before_footer_1.php
Last active June 18, 2022 10:22
XTRA WP Theme - Action hook for adding content before footer top bar, https://xtratheme.com/
@Codevz
Codevz / codevz-after_header_4.php
Last active June 18, 2022 10:22
XTRA WP Theme - Action hook for adding content after mobile header, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after mobile header.
*/
function my_prefix_after_mobile_header() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-before_header_4.php
Last active June 18, 2022 10:22
XTRA WP Theme - Action hook for adding content before mobile header, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before mobile header.
*/
function my_prefix_before_mobile_header() {
echo 'This is a custom content text.';
}