This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'gettext', 'change_widget_translation', 10, 3 ); | |
/* | |
* Change the Arabic "Widgets" translation. | |
* | |
* @return string | |
*/ | |
function change_widget_translation( $translations, $text, $domain ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'after_momtaz_setup', 'sample_after_momtaz_setup', 11 ); | |
/** | |
* Load all the necessary code after Momtaz setup. | |
* | |
* @return void | |
* @since 0.1 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'after_setup_theme', 'sample_after_setup_theme', 11 ); | |
/** | |
* An action for 'after_setup_theme' hook. | |
* | |
* @return void | |
* @since 0.1 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Event manager | |
* | |
* @since 1.3 | |
*/ | |
class EventManager { | |
/*** Properties ***********************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Priority Array | |
* | |
* @since 1.3 | |
*/ | |
class PriorityArray implements \IteratorAggregate, \ArrayAccess, \Serializable, \Countable { | |
/*** Properties ***********************************************************/ |
NewerOlder