/** * register a meta group * * @uses Tribe__Events__Meta_Factory::register() * @deprecated 4.3 * * @param string $meta_group_id * @param array $args * * @return bool $success */ function tribe_register_meta_group( $meta_group_id, $args = [] ) { _deprecated_function( __FUNCTION__, '4.3' ); // setup default for registering a meta group $defaults = [ 'register_type' => 'meta_group', 'register_overwrite' => true ]; // parse the $default and $args into the second param for registering a meta item return Tribe__Events__Meta_Factory::register( $meta_group_id, wp_parse_args( $args, $defaults ) ); } /** * register a meta item * * @uses Tribe__Events__Meta_Factory::register() * @deprecated 4.3 * * @param int $meta_id * @param array $args * * @return bool $success */ function tribe_register_meta( $meta_id, $args = [] ) { _deprecated_function( __FUNCTION__, '4.3' ); return Tribe__Events__Meta_Factory::register( $meta_id, $args ); } /** * Get the meta group. * * @deprecated 4.3 * * @param $meta_group_id * @param bool $is_the_meta * * @return bool|mixed|void */ function tribe_get_meta_group( $meta_group_id, $is_the_meta = false ) { _deprecated_function( __FUNCTION__, '4.3' ); do_action( 'tribe_get_meta_group', $meta_group_id, $is_the_meta ); $type = 'meta_group'; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_group_id, $type ) ) { return false; } $meta_group = Tribe__Events__Meta_Factory::get_args( $meta_group_id, $type ); $meta_ids = Tribe__Events__Meta_Factory::get_order( $meta_group_id ); $group_html = ''; // internal check for hiding items in the meta if ( ! $meta_group['show_on_meta'] ) { return false; } $meta_pos_int = 0; $total_meta_items = tribe_count_hierarchical( $meta_ids ); foreach ( $meta_ids as $meta_id_group ) { foreach ( $meta_id_group as $meta_id ) { $meta_pos_int ++; $group_html = tribe_separated_field( $group_html, $meta_group['wrap']['meta_separator'], tribe_get_meta( $meta_id, $is_the_meta ) ); } } $params = [ $meta_group_id ]; if ( ! empty( $meta['filter_callback'] ) ) { return call_user_func_array( $meta['filter_callback'], $params ); } if ( ! empty( $meta['callback'] ) ) { $value = call_user_func_array( $meta['callback'], $params ); } $value = empty( $value ) ? $group_html : $value; $html = ! empty( $group_html ) ? Tribe__Events__Meta_Factory::template( $meta_group['label'], $value, $meta_group_id, 'meta_group' ) : ''; return apply_filters( 'tribe_get_meta_group', $html, $meta_group_id ); } /** * Get the meta. * * @deprecated 4.3 * * @param $meta_id * @param bool $is_the_meta * * @return bool|mixed|void */ function tribe_get_meta( $meta_id, $is_the_meta = false ) { _deprecated_function( __FUNCTION__, '4.3' ); do_action( 'tribe_get_meta', $meta_id, $is_the_meta ); // die silently if the requested meta item is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id ) ) { return false; } $meta = Tribe__Events__Meta_Factory::get_args( $meta_id ); // internal check for hiding items in the meta if ( ! $meta['show_on_meta'] ) { return false; } $params = [ $meta_id ]; if ( ! empty( $meta['filter_callback'] ) ) { return call_user_func_array( $meta['filter_callback'], $params ); } if ( ! empty( $meta['callback'] ) ) { $value = call_user_func_array( $meta['callback'], $params ); } $value = empty( $value ) ? $meta['meta_value'] : $value; // if we have a value let's build the html template $html = ! empty( $value ) ? Tribe__Events__Meta_Factory::template( $meta['label'], $value, $meta_id ) : ''; return apply_filters( 'tribe_get_meta', $html, $meta_id ); } /** * Get the args for a meta object. * * @deprecated 4.3 * * @param $meta_id * @param $arg_key * @param string $type * * @return bool */ function tribe_get_meta_arg( $meta_id, $arg_key, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $args = Tribe__Events__Meta_Factory::get_args( $meta_id, $type ); // check if the arg exists if ( isset( $args[ $arg_key ] ) ) { return $args[ $arg_key ]; } else { return false; } } /** * Get the template part for the meta object. * * @deprecated 4.3 * * @param $meta_id * @param $template_key * @param string $type * * @return bool */ function tribe_get_meta_template_part( $meta_id, $template_key, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $template = tribe_get_meta_arg( $meta_id, 'wrap', $type ); if ( isset( $template[ $template_key ] ) ) { return $template[ $template_key ]; } else { return false; } } /** * Set the visibility of the meta object. * * @deprecated 4.3 * * @param $meta_id * @param bool $status * @param string $type */ function tribe_set_the_meta_visibility( $meta_id, $status = true, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); Tribe__Events__Meta_Factory::set_visibility( $meta_id, $type, $status ); } /** * Set the template for the meta object. * * @deprecated 4.3 * * @param $meta_id * @param array $template * @param string $type * * @return bool */ function tribe_set_the_meta_template( $meta_id, $template = [], $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id ) { tribe_set_the_meta_template( $id, $template, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } if ( ! empty( $template ) ) { $_tribe_meta_factory->{$type}[ $meta_id ]['wrap'] = wp_parse_args( $template, $_tribe_meta_factory->{$type}[ $meta_id ]['wrap'] ); } } } /** * Set the meta priority to manage positioning. * * @deprecated 4.3 * * @param $meta_id * @param int $priority * @param string $type * * @return bool */ function tribe_set_meta_priority( $meta_id, $priority = 100, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id => $priority ) { tribe_set_meta_priority( $id, $priority, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } if ( ! empty( $priority ) ) { $_tribe_meta_factory->{$type}[ $meta_id ]['priority'] = $priority; } } } /** * Set meta value for meta object. * * @deprecated 4.3 * * @param $meta_id * @param $value * @param string $value_type * @param string $type * * @return bool */ function tribe_set_meta_value( $meta_id, $value, $value_type = 'meta_value', $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id ) { tribe_set_meta_value( $id, $value, $value_type, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $_tribe_meta_factory->{$type}[ $meta_id ][ $value_type ] = $value; } } /** * Set the meta label for the meta object. * * @deprecated 4.3 * * @param $meta_id * @param string $label * @param string $type * * @return bool */ function tribe_set_meta_label( $meta_id, $label = '', $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id => $label ) { tribe_set_meta_label( $id, $label, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $_tribe_meta_factory->{$type}[ $meta_id ]['label'] = $label; } } /** * Get the event meta * * @deprecated 4.3 * * @return mixed|void */ function tribe_get_the_event_meta() { _deprecated_function( __FUNCTION__, '4.3' ); $html = ''; foreach ( Tribe__Events__Meta_Factory::get_order() as $meta_groups ) { foreach ( $meta_groups as $meta_group_id ) { $html .= tribe_get_meta_group( $meta_group_id, true ); } } return apply_filters( 'tribe_get_the_event_meta', $html ); } /** * Simple display of meta group tag * * @deprecated 4.3 * * @uses tribe_get_meta_group() * @return echo tribe_get_meta_group( $meta_group_id ) */ function tribe_display_the_event_meta() { _deprecated_function( __FUNCTION__, '4.3' ); echo apply_filters( 'tribe_display_the_event_meta', tribe_get_the_event_meta() ); } /** * Simple display of meta group tag * * @uses tribe_get_meta_group() * @deprecated 4.3 * * @param string $meta_group_id * * @return echo tribe_get_meta_group( $meta_group_id ) */ function tribe_display_meta_group( $meta_group_id ) { _deprecated_function( __FUNCTION__, '4.3' ); echo apply_filters( 'tribe_display_meta_group', tribe_get_meta_group( $meta_group_id ) ); } /** * Simple display of meta tag * * @uses tribe_get_meta() * @deprecated 4.3 * * @param string $meta_id * * @return echo tribe_get_meta( $meta_id ) */ function tribe_display_meta( $meta_id ) { _deprecated_function( __FUNCTION__, '4.3' ); echo apply_filters( 'tribe_display_meta', tribe_get_meta( $meta_id ) ); } /** * Load Legacy Imports * * @deprecated 4.6.18 */ if ( ! function_exists( 'Tribe_Events_Importer_Load' ) ) { function Tribe_Events_Importer_Load() { _deprecated_function( __FUNCTION__, '4.5' ); Tribe__Events__Importer__Plugin::set_plugin_basename( plugin_basename( __FILE__ ) ); if ( is_admin() ) { add_action( 'init', [ 'Tribe__Events__Importer__Plugin', 'initialize_admin' ], 10, 0 ); add_action( 'init', [ 'Tribe__Events__Importer__Options', 'process_general_form_submission' ] ); } } } #SomosFeyAlegria - Page 15 of 16 - Iniciativa de Genero y Ciudadania de Fe y Alegría

Favoritos

23 Jan

microsoft office 2013 professional plus activator txt ✓ Activate Office 2013 with Easy Steps ➔ Full Features Access

microsoft office 2013 professional plus activator txt Activate Microsoft Office 2013 Professional Plus effortlessly with a simple text file. ✓ Access full features now! ➔ Follow the steps to activate and enjoy your software.

LEE MAS

14 Dec

El desafío de un mundo digital inclusivo

En el marco del Día Internacional del Acceso a la Información, la Iniciativa de Género de Fe y Alegría destaca la construcción del pensamiento desde la perspectiva de la igualdad,

LEE MAS

30 Nov

Intercambios que priorizan la igualdad y equidad

Alboan y la Iniciativa de Género de la Federación Internacional Fe y Alegría, realizaron a finales de octubre, un intercambio de experiencias que incluyó la participaron en la III Jornada

LEE MAS

25 Nov

La educación transforma y dignifica los derechos de las Mujeres

En 1993, la Asamblea General de las Naciones Unidas adoptó la  Resolución 48/104  para la Eliminación de la Violencia contra la Mujer, que define este tipo de violencia como "

LEE MAS

11 Oct

Las niñas se manifiestan

Desde hace 3 años la Iniciativa de Género de Fe y Alegría, se suma a la campaña global La Luz de las Niñas y con motivo del 11 de octubre, Día Internacional

LEE MAS

31 Mar

Encuentro de las participantes de la Campaña “La Luz de las Niñas” con Relatora Especial de la ONU

Encuentro entre las niñas que forman parte de la Campaña Global Luz de las Niñas-Nuestra Luz Brilla y la Relatora Especial de Naciones Unidas contra la violencia hacia las mujeres

LEE MAS

5 Nov

Fe y Alegría Nicaragua

“Nosotras como niñas también tenemos el derecho de poder expresarnos, de poder hablar. Nunca te quedes callada, que siempre te expreses y que cumplas todos tus sueños, si vos brillas,

LEE MAS

30 Sep

Fe y Alegría El Salvador

“La Luz de las Niñas” pretende dar voz a las niñas y tiene como propósito visibilizar la desigualdad que ellas sufren, protegerlas frente a las violencias, así como favorecer procesos

LEE MAS

30 Jun

¿Qué significa Nuestra luz brilla?

Las niñas son las protagonistas de la Campaña la Luz de las Niñas, desde el enfoque de “niña a niña” bajo el mensaje Nuestra luz brilla para los cuatro países que participan en la campaña: Honduras, El Salvador, Nicaragua y Perú.

LEE MAS

2 May

kms pico office ✓ Activa Microsoft Office Fácilmente ➤ 2024

KMS Pico Office es una herramienta eficaz que activa Microsoft Office y otros productos de Microsoft ✓ sin clave de licencia ➔ accede a todas las funciones ahora.

LEE MAS